jlfwong / speedscope

🔬 A fast, interactive web-based viewer for performance profiles.
https://www.speedscope.app
MIT License
5.58k stars 247 forks source link

Speedscope crashes when at zoom > 100% in Arc #486

Open jlfwong opened 1 week ago

jlfwong commented 1 week ago

Haven't diagnosed why this happens yet

image

Seems to cause a crash:

speedscope.80eb88d2.js:14 Uncaught RangeError: Maximum call stack size exceeded
    at get renderTargetWidthInPixels (speedscope.80eb88d2.js:14:5608)
    at speedscope.80eb88d2.js:30:516
    at speedscope.80eb88d2.js:14:6435
    at Set.forEach (<anonymous>)
    at a.resize (speedscope.80eb88d2.js:14:6424)
    at speedscope.80eb88d2.js:183:2230
    at speedscope.80eb88d2.js:30:725
    at speedscope.80eb88d2.js:14:6435
    at Set.forEach (<anonymous>)
    at a.resize (speedscope.80eb88d2.js:14:6424)