V8 API Reference Guide for node.js v0.12.18
Public Types | Static Public Member Functions | List of all members
v8::Testing Class Reference

Public Types

enum  StressType { kStressTypeOpt, kStressTypeDeopt }

Static Public Member Functions

static void SetStressRunType (StressType type)
static int GetStressRuns ()
static void PrepareStressRun (int run)
static void DeoptimizeAll ()

Member Function Documentation

static void v8::Testing::DeoptimizeAll ( )

Force deoptimization of all functions.

static int v8::Testing::GetStressRuns ( )

Get the number of runs of a given test that is required to get the full stress coverage.

static void v8::Testing::PrepareStressRun ( int  run)

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 v8::Testing::SetStressRunType ( StressType  type)

Set the type of stressing to do. The default if not set is kStressTypeOpt.

The documentation for this class was generated from the following file: