| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[build] Use a new google_benchmark location to avoid conflicts Using the same path for DEPS'ed and previously checked-in files causes conflicts when going back and forth between new and old revisions. Since all references here are v8 stand-alone, the exact location shouldn't be important. Therefore we use some new name to avoid conflicts when locally running gclient sync. Bug: chromium:1513046 Change-Id: Icf1ecc4d9b1f9c7e67b5a542c2be08ff9738d045 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5184217 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Liviu Rau <liviurau@google.com> Cr-Commit-Position: refs/heads/main@{#91760} | 2 年前 | |
[benchmark] Add a benchmark to compare fast API calls to regular ones This CL adds basic benchmarks for the V8 fast API. The following workloads get added: * Regular api call to an empty callback; * Fast api call to an empty callback; * Regular api call with one string parameter, returning the string length; * Fast api call with one string parameter, which gets passed as a FastOneByteString; * Fast api call with one string parameter, which gets passed as a v8::Value; Results on my workstation, with a normal release build: ------------------------------------------- Benchmark Time CPU Iterations ------------------------------------------- FastApiBenchmark/FastCallToEmptyCallback 4061324 ns 4059959 ns 173 FastApiBenchmark/RegularCallToEmptyCallback 7513440 ns 7511993 ns 92 FastApiBenchmark/FastOneByteString 4827714 ns 4826396 ns 140 FastApiBenchmark/FastStringValueView 18685412 ns 18682020 ns 38 FastApiBenchmark/RegularString 21819803 ns 21812231 ns 32 Change-Id: I3ae9241a391299802a15e0d13f4bc0fa61b598f9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6035117 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#97326} | 1 年前 | |
Add benchmark for bindings operations Adds a benchmark representing bindings setup. Results: ------------------------------------------------------------------ Benchmark Time CPU ------------------------------------------------------------------ OldBindings/AccessorReturningWrapper 1510244 ns 1510078 ns NewBindings/AccessorReturningWrapper 1248103 ns 1247787 ns OldBindings/AccessorReturningSmi 622348 ns 622332 ns NewBindings/AccessorReturningSmi 581722 ns 581705 ns Bug: chromium:328117814 Change-Id: I6557a39b4c05c69e3751f6d0b7e172b29e47126c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5382158 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#93075} | 2 年前 | |
Add benchmark for bindings operations Adds a benchmark representing bindings setup. Results: ------------------------------------------------------------------ Benchmark Time CPU ------------------------------------------------------------------ OldBindings/AccessorReturningWrapper 1510244 ns 1510078 ns NewBindings/AccessorReturningWrapper 1248103 ns 1247787 ns OldBindings/AccessorReturningSmi 622348 ns 622332 ns NewBindings/AccessorReturningSmi 581722 ns 581705 ns Bug: chromium:328117814 Change-Id: I6557a39b4c05c69e3751f6d0b7e172b29e47126c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5382158 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#93075} | 2 年前 | |
[test] Fix benchmark initialization After https://crrev.com/c/6348469, V8::Initialize() calls cppgc::InitializeProcess(), so the latter needs not be called explicitly during benchmark initialization. Change-Id: If4d429e5c776f530701d5a778c03da6644a9723a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6540508 Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#100238} | 1 年前 | |
Add benchmark for bindings operations Adds a benchmark representing bindings setup. Results: ------------------------------------------------------------------ Benchmark Time CPU ------------------------------------------------------------------ OldBindings/AccessorReturningWrapper 1510244 ns 1510078 ns NewBindings/AccessorReturningWrapper 1248103 ns 1247787 ns OldBindings/AccessorReturningSmi 622348 ns 622332 ns NewBindings/AccessorReturningSmi 581722 ns 581705 ns Bug: chromium:328117814 Change-Id: I6557a39b4c05c69e3751f6d0b7e172b29e47126c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5382158 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#93075} | 2 年前 | |
[api] Add tag parameter to Context::GetAlignedPointerFromEmbedderData Bug: 433909571 Change-Id: I51bc8d628fcecf21ff4fc6867bfdbc03fbe837cb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6964617 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#102690} | 9 个月前 | |
[build] Use a new google_benchmark location to avoid conflicts Using the same path for DEPS'ed and previously checked-in files causes conflicts when going back and forth between new and old revisions. Since all references here are v8 stand-alone, the exact location shouldn't be important. Therefore we use some new name to avoid conflicts when locally running gclient sync. Bug: chromium:1513046 Change-Id: Icf1ecc4d9b1f9c7e67b5a542c2be08ff9738d045 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5184217 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Liviu Rau <liviurau@google.com> Cr-Commit-Position: refs/heads/main@{#91760} | 2 年前 | |
[build] Use a new google_benchmark location to avoid conflicts Using the same path for DEPS'ed and previously checked-in files causes conflicts when going back and forth between new and old revisions. Since all references here are v8 stand-alone, the exact location shouldn't be important. Therefore we use some new name to avoid conflicts when locally running gclient sync. Bug: chromium:1513046 Change-Id: Icf1ecc4d9b1f9c7e67b5a542c2be08ff9738d045 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5184217 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Liviu Rau <liviurau@google.com> Cr-Commit-Position: refs/heads/main@{#91760} | 2 年前 | |
[benchmark] Add a benchmark to compare fast API calls to regular ones This CL adds basic benchmarks for the V8 fast API. The following workloads get added: * Regular api call to an empty callback; * Fast api call to an empty callback; * Regular api call with one string parameter, returning the string length; * Fast api call with one string parameter, which gets passed as a FastOneByteString; * Fast api call with one string parameter, which gets passed as a v8::Value; Results on my workstation, with a normal release build: ------------------------------------------- Benchmark Time CPU Iterations ------------------------------------------- FastApiBenchmark/FastCallToEmptyCallback 4061324 ns 4059959 ns 173 FastApiBenchmark/RegularCallToEmptyCallback 7513440 ns 7511993 ns 92 FastApiBenchmark/FastOneByteString 4827714 ns 4826396 ns 140 FastApiBenchmark/FastStringValueView 18685412 ns 18682020 ns 38 FastApiBenchmark/RegularString 21819803 ns 21812231 ns 32 Change-Id: I3ae9241a391299802a15e0d13f4bc0fa61b598f9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6035117 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#97326} | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 |