エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Quick performance test on JavaScript console (Example)
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Quick performance test on JavaScript console (Example)
Quickly test performance of a function on the console (in the browser) with: var i = performance.... Quickly test performance of a function on the console (in the browser) with: var i = performance.now(); yourFunction(); performance.now()-i; Or make a helper function, like this: function performanceTest(testFunction, iterations){ var sum = 0; var start = performance.now(); for(var i = 0; i<iterations;i++){ testFunction(); } var time=performance.now()-start; return time; } And use it like this: pe