Camillo Bruni
a345a442d3
[d8][mjsunit][tools] Improve d8 file API
...
- Add d8.file.read() and d8.file.execute() helpers
- Change tools and tests to use new d8.file helper
- Unify error throwing in v8::Shell::ReadFile
Change-Id: I5ef4cb27f217508a367106f01e872a4059d5e399
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2928505
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74883}
2021-06-01 13:37:57 +00:00
Sigurd Schneider
9298d21863
[js-perf-test] Add more WeakMap perf tests
...
Bug: v8:8557
Change-Id: I213b5944de72eb09a18e44789539b6b420e68068
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1538117
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60430}
2019-03-25 10:47:29 +00:00
Sigurd Schneider
e58c9d924d
Revert "[js-perf-test] Add more WeakMap perf tests"
...
This reverts commit 62a8bdca52
.
Reason for revert: Test times out on atom
Original change's description:
> [js-perf-test] Add more WeakMap perf tests
>
> Change-Id: I46eb94e58fc4da55cb1b2adb9ffdbb09e5e33a5d
> Bug: v8:8557
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1530800
> Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
> Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#60326}
TBR=ulan@chromium.org ,jarin@chromium.org,sigurds@chromium.org
Change-Id: I88ae85bea2ad04db11137a602bd3d8ee6978fa04
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:8557
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1532061
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60353}
2019-03-20 09:51:25 +00:00
Sigurd Schneider
62a8bdca52
[js-perf-test] Add more WeakMap perf tests
...
Change-Id: I46eb94e58fc4da55cb1b2adb9ffdbb09e5e33a5d
Bug: v8:8557
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1530800
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60326}
2019-03-19 13:54:37 +00:00
peterwmwong
0a66361d7c
[js-perf-test] Add Collection constructor and double type microbenchmarks
...
- Add {Map/Set/WeakMap/WeakSet}-Constructor microbenchmarks
- Add {Map/Set}-Double microbenchmarks (testing heap number keys)
Bug: v8:6604
Change-Id: Icadd5c81bfb59a58a2a65e119663d3f22637165d
Reviewed-on: https://chromium-review.googlesource.com/773595
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49398}
2017-11-16 07:21:05 +00:00
Jaroslav Sevcik
7a540779ca
[js-tests] Add benchmarks for large hash tables.
...
Change-Id: I1157ef6baaf60bdbf5d55a1b8f75edb15794baef
Bug: v8:6916
Reviewed-on: https://chromium-review.googlesource.com/715800
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48724}
2017-10-19 08:45:22 +00:00
Benedikt Meurer
01f6d352c9
[test] Add micro-benchmarks for Map and Set iterators.
...
Change-Id: I5fc90147ee7526b8b66d04f38e5e225741cf4642
Bug: v8:6571
Reviewed-on: https://chromium-review.googlesource.com/559342
Reviewed-by: Michael Stanton <mvstanton@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46412}
2017-07-05 12:22:17 +00:00
machenbach
21835209a7
Use merged JSTest config for performance tests.
...
The new config is now used for perf measurements. The old
ones are deleted to avoid redundancy.
This also ports https://codereview.chromium.org/754523004 to the new config file.
BUG=chromium:374740
LOG=n
TBR=ulan@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/782673003
Cr-Commit-Position: refs/heads/master@{#25674}
2014-12-05 08:43:19 +00:00
adamk@chromium.org
5b85911e5e
Add performance tests for Map/Set with String and Object keys
...
The big change here is to split out each key type into its own
benchmark suite, since optimizations for different key types
are likely to be disjoint. ForEach tests have also been split
into separate "Iteration" suites, again with the thought that
iteration performance is likely separable from key type.
As part of adding the new tests, rejiggered the existing tests:
- Map.set and Set.add (along with their Weak variants) no longer
include construction costs in their scores
- Moved key logic into the shared common.js
R=arv@chromium.org , machenbach@chromium.org
Review URL: https://codereview.chromium.org/685753004
Cr-Commit-Position: refs/heads/master@{#24969}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24969 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-29 10:18:38 +00:00
machenbach@chromium.org
5680786c21
Move js perf tests to a common root on the perf dashboard.
...
BUG=
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/667373004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-22 13:04:08 +00:00
dslomov@chromium.org
27b1c823ce
Share test framework between js-perf-tests.
...
Also small reformat in Iterators/forof.js
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/662723006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-17 09:11:21 +00:00
machenbach@chromium.org
75f665d203
Move js perf test to another directory.
...
TBR=dslomov@chromium.org , bmeurer@chromium.org
Review URL: https://codereview.chromium.org/641033003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24493 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-09 12:41:36 +00:00