v8/tools/system-analyzer
Camillo Bruni 190af788af [tools][system-analyzer] Speed up log parsing
Reduce the dispatching overhead in the hottest loop when parsing log-lines.

- Using a JSMap we can avoid internalizing strings
- Preprocess the dispatch table and only have varArgs or functions as
  parsers
- string[] seems to be slightly faster than string.charAt()

Bug: v8:10644
Change-Id: I03b13bdeecda1ad037191ff74e05142ceeb6533c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3571890
Reviewed-by: Patrick Thier <pthier@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79816}
2022-04-06 11:31:03 +00:00
..
log [tools][system-analyzer] Improve Deopt and assembly support 2022-04-04 14:47:59 +00:00
view [tools][system-analyzer] Speed up log parsing 2022-04-06 11:31:03 +00:00
app-model.mjs [tools][system-analyzer] Display timer events 2021-06-29 11:43:02 +00:00
helper.mjs [tools][system-analyzer] Speed improvements 2022-03-21 10:22:25 +00:00
index.css [tools][system-analyzer] Improve selection support 2022-04-05 18:42:03 +00:00
index.html [tools][system-analyzer] Improve selection support 2022-04-05 18:42:03 +00:00
index.mjs [tools][system-analyzer] Improve selection support 2022-04-05 18:42:03 +00:00
lws-middleware.js [tools][system-analyzer] Add local symbol server 2021-07-01 09:59:17 +00:00
processor.mjs [tools][system-analyzer] Speed up log parsing 2022-04-06 11:31:03 +00:00
timeline.mjs [tools][system-analyzer] Various improvements 2021-07-05 09:12:57 +00:00