46 Commits

Author SHA1 Message Date
Tommaso Allevi
6c7497de1c
Set black background on dark theme (#273) 2023-07-27 18:18:58 +02:00
Matteo Collina
eeb0f2d2c6
Updated deps and added CI (#246)
* Updated deps and added CI

* fixes
2021-12-30 12:31:29 +01:00
Renée Kooi
4be904fb67
Add a separate category for wasm 2019-10-10 11:41:59 +02:00
Renée Kooi
dfce36d465
Flag likely wasm stack frames 2019-10-08 13:45:28 +02:00
Renée Kooi
075a19302c
Fix Node 8 compatibility
fs.promises is available in Node 10+ only. By using promisify(fs.readFile) instead we stay compatible with Node 8.
2019-04-25 11:52:15 +02:00
David Mark Clements
d5c8d3b36b v8-profile -> cpu-profile 2019-04-23 17:31:10 +02:00
slonka
01fdc75837 Disable Merge/Unmerge Optimized Unoptimized buttons when generating flamegraph from v8 profile 2019-01-23 21:53:21 +01:00
AlanSl
50a6a89b2b Fix false positives in frontend type classification 2018-11-30 13:22:51 +00:00
Ruben Bridgewater
e885726a7f
Fix linting errors 2018-09-19 10:22:48 +02:00
Matteo Collina
0a5eb02a0e Revert "Merge pull request #165 from BridgeAR/filter-init"
This reverts commit be8e703b03ed86d0252d3a32399fef17a415a485, reversing
changes made to 2bbc814beeee89693f2a55764a5c41ce22d54a61.
2018-09-18 15:59:54 +02:00
Ruben Bridgewater
cedd18ce12
Remove trailing whitespace & remove extra line 2018-09-18 00:57:14 +02:00
Ruben Bridgewater
b1bd95fadd
Remove trailing whitespace 2018-09-11 15:43:46 +02:00
Matteo Collina
38ec6afebe
Merge pull request #151 from goto-bus-stop/feature/history
Direct stack frame #-links + history
2018-08-28 17:13:28 +02:00
Renée Kooi
9e11f5cb0d
Ensure focusedNodeId is always an ID 2018-08-28 13:08:01 +02:00
Ruben Bridgewater
1736c6d884
Move more cpp functions to v8
Some calls were not properly detected before. The heuristic is now
improved.
2018-08-27 16:50:48 +02:00
Ruben Bridgewater
a033ca6a60
Improve v8 detection
Now all v8 stacks are detected properly.
2018-08-26 01:33:12 +02:00
Renée Kooi
9c4a76f51a
Fix typo in default history state 2018-08-17 16:50:55 +02:00
Renée Kooi
8750a98893
Decode URI escapes before parsing JSON 2018-08-17 10:46:46 +02:00
Renée Kooi
5054e78ae5
Use JSON for the hash. 2018-08-17 10:39:01 +02:00
Renée Kooi
b25573835e
Update hash after type exclusion changes. 2018-08-17 10:33:05 +02:00
Renée Kooi
0e58d0d5eb
Add type exclusion state to history 2018-08-15 13:06:19 +02:00
Renée Kooi
e73d3a8c1b
Implement history
This patch stores the current focused node in the URL hash, so you can
link to a specific stack.

It also implements the back/forward buttons using the `pushState()` API.
Only the merged/unmerged setting and the focused node ID are stored
right now, but the type visibility settings should be added too as those
are necessary in order to show the focused node.

The hash is read on load, elsewhere the history API is
used—`pushState()` and `onpopstate` are a little easier to deal with
than `hash` and `onhashchange`. (onpopstate is _only_ triggered by user
action for example so we don't have to check if we just pushState()d.)

TODO:

 - [ ] add type visibility settings to URL hash
 - [ ] when pressing Back repeatedly, the rendered state may get out of
 date because no new animations are started for 500ms or so after
 another started. Should instead cancel ongoing animations and switch to
 the new one.
2018-08-15 12:22:04 +02:00
Shuhei Kagawa
56b13a6c7d Fix error on resize 2018-08-12 00:41:00 +02:00
Kamil Mech
4177d6050e Add top offset to prevent top bar from cropping the top stack 2018-08-10 15:51:29 +01:00
Renée Kooi
3b7c40a155
Optimized/Unoptimized buttons are toggles 2018-07-13 17:09:04 +02:00
Renée Kooi
4091ce1853
Allow zooming >1 2018-07-13 16:52:09 +02:00
Renée Kooi
69d6faf6dc
Style fixes
- Fixes the height of the graph in FF
  For some reason `height: calc(100% - 66px)` does something totally
  different than `height: 100%`, but with `100vh` the behaviour is the
  same either way. This seems like a FF CSS bug maybe…
- Use floating + margins instead of absolute positions for top bar
  controls
  Default button and input sizes are different across browsers and OSes,
  by using floats + margins the positioning adapts to sizes instead of
  having things drawn on top of each other.
2018-07-04 11:47:39 +02:00
davidmarkclements
f4aa18f4e2 rm phases, include init tier 2018-03-21 03:37:09 +01:00
davidmarkclements
06ef99a115 kernel tracing ui and search fix 2018-03-20 17:27:33 +01:00
davidmarkclements
9cc5b37de6 readme, ui fixes, api changes 2018-03-16 22:07:45 +01:00
davidmarkclements
76d886d502 rm accidental placeholder text 2018-03-14 22:29:43 +01:00
davidmarkclements
44205e5f21 responsive ui 2018-03-14 16:30:38 +01:00
davidmarkclements
07e8b39ab3 linting 2018-03-14 01:48:58 +01:00
davidmarkclements
fbbae4470f ui improve, cli improve, final rearranging 2018-03-14 01:25:16 +01:00
davidmarkclements
e48d25261a minor code rearrange 2018-03-12 22:07:18 +01:00
davidmarkclements
9db626c819 search fix 2018-03-12 21:46:38 +01:00
davidmarkclements
5e96611507 buttons 2018-03-12 16:46:12 +01:00
davidmarkclements
d398280192 bugfix + show/hide opt/unopt key 2018-03-12 15:05:12 +01:00
davidmarkclements
717011756c merged and unmerged views! 2018-03-12 13:58:50 +01:00
davidmarkclements
3da01881a2 pre-inlined heuristic - ability to mark functions that are later inlined 2018-03-06 01:20:52 +00:00
davidmarkclements
4cc531d02e eval cat 2018-03-04 21:01:36 +00:00
davidmarkclements
2ab485ba3d add ~ * to key 2018-03-02 20:46:35 +00:00
davidmarkclements
96cac61234 enable all frame types, type filtering improvements 2018-03-02 20:21:35 +00:00
davidmarkclements
cf7f93fca6 redo stack conversion 2018-03-02 01:42:03 +00:00
davidmarkclements
a3517c3143 tier key color scheme functionality 2018-03-01 02:53:03 +00:00
davidmarkclements
89b0a5a3ff restructure viz section 2018-03-01 01:36:20 +00:00