Live data from Hacker News

Show HN: Spall – WASM-based profiler for JavaScript and C and Odin

gravitymoth.com

21–22 of 22 posts

Re: Show HN: Spall – WASM-based profiler for JavaScript and C and Odin

#21

Very cool. JSON is clearly a terrible format for this though. I've had great success using SQLite instead. You mentioned binary formats in the video - what other formats are supported? Last I looked the whole chrome://tracing ecosystem was stubbornly stuck with JSON.

So, spall has a JSON parser to help all the poor folks stuck using JSON or the chrome devtools profiler, who still need to keep using it. For everyone doing new things, there's a binary format which is pretty straightforward. The binary side supports begin and end events, which are defined here: https://github.com/colrdavidson/spall/blob/master/formats/sp... and the header library mirrors those structs, and chalks ou…

Ah neat. Have you ever used RAD Tools Telemetry (http://www.radgametools.com/telemetry.htm)? I saw Jonathan Blow using it on Youtube once and it looked slick and performant like Spall (and unlike every other open source option).
Post reply on HN