This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| 'variables': { | |
| 'DEBUG': 1, | |
| 'debug_devtools': 1, | |
| 'dcheck_always_on': 1, | |
| 'use_goma': 1, | |
| 'clang': 1, | |
| 'gomadir': '<!(/bin/echo -n ${HOME}/goma/goma)', | |
| #'component': 'shared_library', | |
| #'enable_oilpan': 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @param {TYPE} a | |
| * @param {TYPE} b | |
| * @template TYPE | |
| * @return {TYPE} | |
| */ | |
| function max(a, b) | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # rename hashes, setup id3 tags | |
| set -o | |
| track=$(echo "$1" | cut -d'@' -f1) | |
| url=$(echo "$1" | cut -d'@' -f2) | |
| name=$(echo "$1" | cut -d'@' -f3) | |
| artist=$(echo "$name" | cut -d'-' -f1) | |
| song=$(echo "$name" | cut -d'-' -f2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| Developer Tools has a lot of different tests. Here we'll go through the most | |
| common type which tests Developer Tools front-end. | |
| Every front-end test is just a webpage. The testing system (which is essentially a special | |
| lightweight browser, content_shell) opens this page, and then opens Developer Tools to inspect | |
| it. | |
| --> | |
| <html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lushnikov:~/prog/esprima/test(master)$ node benchmarks | |
| Doesn't have exposed gc(). | |
| Underscore 1.5.2 42.5 KiB 3.77 ms ± 2.60% | |
| Backbone 1.1.0 58.7 KiB 4.74 ms ± 0.63% | |
| MooTools 1.4.5 156.7 KiB 45.74 ms ± 2.32% | |
| jQuery 1.9.1 262.1 KiB 58.39 ms ± 7.26% | |
| YUI 3.12.0 330.4 KiB 49.95 ms ± 1.27% | |
| jQuery.Mobile 1.4.2 442.2 KiB 95.95 ms ± 7.95% | |
| Angular 1.2.5 701.7 KiB 79.69 ms ± 6.74% | |
| inbox 1945.5 KiB 1749.02 ms ± 0.29% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/benchmarks.js b/test/benchmarks.js | |
| index cf7673f..4b92449 100644 | |
| --- a/test/benchmarks.js | |
| +++ b/test/benchmarks.js | |
| @@ -37,7 +37,8 @@ fullFixture = [ | |
| 'jQuery 1.9.1', | |
| 'YUI 3.12.0', | |
| 'jQuery.Mobile 1.4.2', | |
| - 'Angular 1.2.5' | |
| + 'Angular 1.2.5', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (var i = 0; i < 10; ++i) {} var b = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function test(a, b, c) { return 1; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (1 < 2) { 1} else { 2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var a = 10, b = 20, c = a + b; |