Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <body> | |
| 4 <script src="../resources/runner.js"></script> | |
| 5 <script> | |
| 6 let dataArray = []; | |
| 7 for (let i = 0; i < 100000; i++) | |
| 8 dataArray.push('abcdefg foo bar baz'); | |
|
Yuki
2017/04/14 07:50:44
Will this v8::String be converted to blink::String
Raphael Kubo da Costa (rakuco)
2017/04/14 08:09:10
Since the string conversion is still going to happ
Yuki
2017/04/14 08:27:58
An empty string makes sense to me.
| |
| 9 | |
| 10 PerfTestRunner.measureRunsPerSecond({ | |
| 11 description: "This benchmark measures the overhead of converting JavaScript ob jects into WebIDL sequences (fast path for arrays)", | |
| 12 run: function() { | |
| 13 new Blob(dataArray); | |
| 14 }}); | |
| 15 </script> | |
| 16 </body> | |
| 17 </html> | |
| OLD | NEW |