タグ

performanceに関するulyのブックマーク (2)

  • AS3 SWF Profiler - Lost In Actionscript

    This handy script applies a profiler option to the right click Flash Context Menu which allows you to debug or track the current FPS or memory used by your SWF. Further to this it also stores a configurable history length of the frame rate and memory performance for the SWF. Adding this feature into your SWF couldn’t be easier than this line of code SWFProfiler.init(stage, this); and adding an imp

    AS3 SWF Profiler - Lost In Actionscript
  • [Rails] *.rhtmlでrender :partialを使うとめちゃくちゃ遅いので対処する方法

    Posted by masuidrive Mon, 01 Jan 2007 11:37:00 GMT 過去に作ったRailsアプリがどれも遅いので、色々ベンチマークなどを取ってみると、予想以上にviewの部分が遅いことが判明。 なんでveiwが遅いのか、さらに調べていくとrender :partial => “hogehoge”がかなり遅いっぽい。特にループの内側にあったり:collectionを指定すると激遅。ソースを読んでないので全くの憶測だけど、毎回ERBをファイルから評価してないか? 試しに、1つのページに5つある(うち一つは:collectionで10回ループ) render :partialを手で展開して実行してみると、apachebenchで1.3倍(19reqs/sec→24.7reqs/sec)になった。これはかなり効果が高いんだけど、メンテナンス性が著しく落ちるので、他

  • 1