We're updating the issue view to help you get more done. 

Improve perf of cljs.source-map.base64/encode

Description

cljs.source-map.base64/encode is called during source generation.

Overall source map generation is expensive: When I measure the time spent compiling Coal Mine with source maps enabled vs. disabled, I get timings of 815636 ms and 629863 ms (so, about 23% of the total time spent in compilation).

By improving the performance of cljs.source-map.base64/encode, it is possible to reduce the total compilation time for Coal Mine to 788018 ms, which implies a speedup of 1.17 for the source map portion of the compilation process, or a speedup of 1.035 overall.

Environment

None

Status

Assignee

Mike Fikes

Reporter

Mike Fikes

Labels

None

Approval

Accepted

Patch

Code and Test

Priority

Major