Sha256: 80aa1b8f932406252254180d88d8c64b1d2636710ab5864eac125b42d4bf6088

Contents?: true

Size: 1.05 KB

Versions: 301

Compression:

Stored size: 1.05 KB

Contents

// 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_

Version data entries

301 entries across 300 versions & 6 rubygems

Version Path
libv8-node-12.18.4.0.beta3-x86_64-linux vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta3-x86_64-linux-musl vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta3-x86_64-darwin-19 vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta3-x86_64-linux vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta3-x86_64-linux-musl vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta3-x86_64-darwin-19 vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-darwin-18 vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-darwin-18 vendor/v8/include/v8-testing.h
libv8-7.3.492.27.1-universal-darwin-20 vendor/v8/include/v8-testing.h
libv8-7.3.492.27.1-x86_64-darwin-20 vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-darwin-20 vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-darwin-20 vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-solaris-2.11 vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-solaris-2.11 vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-linux vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-linux-musl vendor/v8/include/v8-testing.h
libv8-node-12.18.4.0.beta2-x86_64-darwin-19 vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-linux vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-linux-musl vendor/v8/include/v8-testing.h
libv8-node-10.22.1.0.beta2-x86_64-darwin-19 vendor/v8/include/v8-testing.h