// Copyright 2010 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_V8_TEST_H_ #define V8_V8_TEST_H_ #include "v8.h" // NOLINT(build/include) /** * Testing support for the V8 JavaScript engine. */ namespace v8 { class V8_EXPORT Testing { public: enum StressType { kStressTypeOpt, kStressTypeDeopt }; /** * Set the type of stressing to do. The default if not set is kStressTypeOpt. */ static void SetStressRunType(StressType type); /** * Get the number of runs of a given test that is required to get the full * stress coverage. */ static int GetStressRuns(); /** * Indicate the number of the run which is about to start. The value of run * should be between 0 and one less than the result from GetStressRuns() */ static void PrepareStressRun(int run); /** * Force deoptimization of all functions. */ static void DeoptimizeAll(Isolate* isolate); }; } // namespace v8 #endif // V8_V8_TEST_H_
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
libplatform | Folder | 0755 |
|
|
openssl | Folder | 0755 |
|
|
uv | Folder | 0755 |
|
|
common.gypi | File | 18.71 KB | 0644 |
|
config.gypi | File | 3.24 KB | 0644 |
|
js_native_api.h | File | 27.9 KB | 0644 |
|
js_native_api_types.h | File | 3.81 KB | 0644 |
|
node.h | File | 43.1 KB | 0644 |
|
node_api.h | File | 11.27 KB | 0644 |
|
node_api_types.h | File | 1.62 KB | 0644 |
|
node_buffer.h | File | 3.6 KB | 0644 |
|
node_object_wrap.h | File | 3.78 KB | 0644 |
|
node_version.h | File | 3.69 KB | 0644 |
|
uv.h | File | 63.83 KB | 0644 |
|
v8-internal.h | File | 13.93 KB | 0644 |
|
v8-platform.h | File | 15.09 KB | 0644 |
|
v8-profiler.h | File | 32.53 KB | 0644 |
|
v8-testing.h | File | 1.05 KB | 0644 |
|
v8-util.h | File | 20.17 KB | 0644 |
|
v8-value-serializer-version.h | File | 648 B | 0644 |
|
v8-version-string.h | File | 1.12 KB | 0644 |
|
v8-version.h | File | 772 B | 0644 |
|
v8-wasm-trap-handler-posix.h | File | 1.17 KB | 0644 |
|
v8-wasm-trap-handler-win.h | File | 1 KB | 0644 |
|
v8.h | File | 368.97 KB | 0644 |
|
v8config.h | File | 14.25 KB | 0644 |
|
zconf.h | File | 16.4 KB | 0644 |
|
zlib.h | File | 94.48 KB | 0644 |
|