| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include <stdio.h> | 30 #include <stdio.h> |
| 31 #include <stdlib.h> | 31 #include <stdlib.h> |
| 32 #include <string> | 32 #include <string> |
| 33 #include <vector> | 33 #include <vector> |
| 34 #include "src/v8.h" | 34 #include "src/v8.h" |
| 35 | 35 |
| 36 #include "include/libplatform/libplatform.h" | 36 #include "include/libplatform/libplatform.h" |
| 37 #include "src/api.h" | 37 #include "src/api.h" |
| 38 #include "src/base/platform/platform.h" | 38 #include "src/base/platform/platform.h" |
| 39 #include "src/messages.h" | 39 #include "src/messages.h" |
| 40 #include "src/runtime.h" | 40 #include "src/runtime/runtime.h" |
| 41 #include "src/scanner-character-streams.h" | 41 #include "src/scanner-character-streams.h" |
| 42 #include "src/scopeinfo.h" | 42 #include "src/scopeinfo.h" |
| 43 #include "tools/shell-utils.h" | 43 #include "tools/shell-utils.h" |
| 44 #include "src/string-stream.h" | 44 #include "src/string-stream.h" |
| 45 #include "src/scanner.h" | 45 #include "src/scanner.h" |
| 46 | 46 |
| 47 | 47 |
| 48 using namespace v8::internal; | 48 using namespace v8::internal; |
| 49 | 49 |
| 50 | 50 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 } | 227 } |
| 228 if (benchmark.empty()) benchmark = "Baseline"; | 228 if (benchmark.empty()) benchmark = "Baseline"; |
| 229 printf("%s(RunTime): %.f ms\n", benchmark.c_str(), baseline_total); | 229 printf("%s(RunTime): %.f ms\n", benchmark.c_str(), baseline_total); |
| 230 } | 230 } |
| 231 } | 231 } |
| 232 v8::V8::Dispose(); | 232 v8::V8::Dispose(); |
| 233 v8::V8::ShutdownPlatform(); | 233 v8::V8::ShutdownPlatform(); |
| 234 delete platform; | 234 delete platform; |
| 235 return 0; | 235 return 0; |
| 236 } | 236 } |
| OLD | NEW |