Ran a test where I have a location in some minified code, then prettify that code and want to know the new location:
1154.107ms prettier formatWithCursor
299.370ms pretty-fast (initial)
25.215ms pretty-fast (cached source map)
Downsides of pretty-fast:
- doesn't seem to support column-level mapping