v8/test/inspector/cpu-profiler
Victor Gomes 63be6dde31 [baseline] Update EstimateInstructionSize
Adds a minimum estimated size.

Data suggests that estimated instruction size (+ relocation info size)
is linear to bytecode array length. This CL adds a constant for this
equation. The ratio remains the same.

This is important, because we want to increase success rate of
estimation when compiling on-heap.

When off-heap, we round up the assembler buffer to 4kB, so this CL
will only impact JS functions with more than 585 bytecodes, i.e, the
new added constant will be negligible.

Note: Relocation info (for Sparkplug) is usually so small that it is
not useful to have a separate zone for this.

Bug: v8:11872
Change-Id: I789e72f80b970d1f541965e7ae808b61c8174326
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3069155
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#76144}
2021-08-06 17:40:26 +00:00
..
console-profile-asm-js-expected.txt [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-asm-js.js [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-end-parameterless-crash-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-end-parameterless-crash.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-wasm-expected.txt [wasm][profiler] Report source URL and position 2020-12-10 13:20:08 +00:00
console-profile-wasm.js [compiler] Re-reland "Faster JS-to-Wasm calls" 2021-02-05 09:41:30 +00:00
console-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
coverage-block-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage-block.js Rename stress_flush_bytecode to stress_flush_code 2021-08-02 19:02:57 +00:00
coverage-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage.js [baseline] Update EstimateInstructionSize 2021-08-06 17:40:26 +00:00
enable-disable-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
enable-disable.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stop-without-preceeding-start-expected.txt Fix common misspellings 2017-08-02 09:35:28 +00:00
stop-without-preceeding-start.js Fix common misspellings 2017-08-02 09:35:28 +00:00