Files
rojo/src
Filip Tibell 305423b856 Sourcemap performance improvements (#668)
This PR brings two performance improvements to the `rojo sourcemap`
command:

- Use `rayon` with a small threadpool to parallelize sourcemap
generation while still keeping startup cost very low
- Remove conversions to owned strings and use lifetimes tied to the dom
instead, which mostly improves performance with the
`--include-non-scripts` flag enabled

From my personal testing on an M1 mac this decreases the sourcemap
generation time of our games by 2x or more, from ~20ms to ~8ms on one
project and ~30ms to ~15ms on another. Generation is pretty fast to
begin with but since sourcemaps are heavily used in interactive tools
(like luau-lsp) a difference of a couple frames can be great for ux.
2023-05-06 01:01:15 -07:00
..
2022-06-29 18:53:10 -04:00
2019-10-17 18:22:53 -07:00
2020-01-08 17:58:37 -08:00
2021-02-18 20:56:09 -05:00
2021-06-11 22:19:50 -04:00
2019-10-17 18:22:53 -07:00
2019-10-17 18:22:53 -07:00
2021-06-11 22:19:50 -04:00