speedscope/sample/profiles/Instruments
Jamie Wong aaac0ad7e3
Update instruments import to use integeruniquer.index file (#64)
I knew early on that `integeruniquer.index` could be used to index into `integeruniquer.data`, but I initially thought it was an optimization rather than a necessity. It seems like if there's data past the 1MB threshold in `integeruniquer.data`, then `integeruniquer.index` is actually quite useful.

The file seems to contain `[byte offset, MB offset]` pairs encoded as two 32 bit unsigned little endian integers. Using that to decode the integer arrays encoded in `integeruniquer.data` allows the file in #63 to load.

Fixes #63
2018-06-20 00:51:22 -07:00
..
7.3.1 Add tests for importers (#56) 2018-05-29 23:53:03 -07:00
8.3.3 Update instruments import to use integeruniquer.index file (#64) 2018-06-20 00:51:22 -07:00
9.3.1 Support importing time profiles from Instruments .trace files (#41) 2018-05-17 00:33:09 -07:00
.gitignore Support importing time profiles from Instruments .trace files (#41) 2018-05-17 00:33:09 -07:00