Go to file
vogelheim 6f9d60cc6f Implement AggregatableHistogramTimer and use it to measure how much time
of running a script is really spent in compilation. That is, sum up the
total time spent compiling (parsing + compile proper) within a run call
as seen through the API.

@jochen: So many questions:
- Is it ok to re-use V8.CompileLazy?
  This measures something a little different.
- clang-format does funny things to the huge macro definitions.
  I accepted clang-format changes for all code, but reverted for
  the #define orgies in counters.h. ok?
- Am I measuring the right thing. That is, are Aggregat[ing|ed]TimerScope
  in the right place?

I'll fiddle a bit more with this to see if it does the right thing. Would
be happy if you could still review now-ish.

BUG=

Review URL: https://codereview.chromium.org/790413004

Cr-Commit-Position: refs/heads/master@{#26226}
2015-01-22 18:38:29 +00:00
benchmarks Revert "Refactoring: Make gtest testsuite the default." 2014-09-02 09:17:26 +00:00
build Make version generation robust to other user-defined tags. 2015-01-22 15:06:57 +00:00
include Remove ForceDelete 2015-01-20 13:41:31 +00:00
samples Add interceptor support for symbols 2014-11-27 10:21:39 +00:00
src Implement AggregatableHistogramTimer and use it to measure how much time 2015-01-22 18:38:29 +00:00
test Convert compiler cctest to unit tests, part 1 2015-01-22 14:16:55 +00:00
testing Migrate TRACED_FOREACH to C++11. 2015-01-16 10:40:31 +00:00
tools Whitespace change to test slave shuffle. 2015-01-21 18:40:52 +00:00
.clang-format Change clang-format config to allow for two empty lines between functions 2013-12-03 10:39:21 +00:00
.gitignore Partially reland Auto-generate v8 version based on tags. 2015-01-19 16:23:39 +00:00
AUTHORS Restore the sanity of AUTHORS. CLA OK. 2015-01-16 12:01:24 +00:00
BUILD.gn Fix typo in build.gn. 2015-01-22 09:03:29 +00:00
ChangeLog Upgrade version and change log after branch. 2014-11-10 10:41:13 +00:00
codereview.settings Make codereview.settings ready for git. 2014-11-12 17:40:32 +00:00
DEPS Update V8 DEPS. 2015-01-22 06:16:17 +00:00
LICENSE Update LICENSE date. 2014-02-18 10:50:22 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Partially reland Auto-generate v8 version based on tags. 2015-01-19 16:23:39 +00:00
Makefile.android Fix ARM64 build 2014-12-08 13:04:17 +00:00
Makefile.nacl Use the pnacl-clang toolchain for (P)NaCL builds 2014-10-06 08:10:50 +00:00
OWNERS Add myself to OWNERS 2014-12-08 05:46:46 +00:00
PRESUBMIT.py Remove presubmit bot from 'git cl try'. 2015-01-21 08:56:26 +00:00
README.md Update all DEPS to match chromium's DEPS at edb488e 2014-12-08 12:27:26 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://code.google.com/p/v8/

Getting the Code

Checkout depot tools, and run

fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

git pull origin gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*