danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.82k stars 100 forks source link

Fix slowness #165

Closed nikolay-borzov closed 4 years ago

nikolay-borzov commented 4 years ago

Fixes #158

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.8%) to 95.863% when pulling bca201cf582f54a677a73bb8a1ce837855d8f2db on fix-slowness into 8a1d7f05a236870d5489b4e68d2deae633094cb8 on master.

danvk commented 4 years ago

Looks great @nikolay-borzov , thanks for tracking down the string concatenation issue!

Should we have a performance test to make sure this doesn't regress?

nikolay-borzov commented 4 years ago

Yeah, that was my fault actually.

I thought about the performance test but haven't figure out how to implement it yet. Should it be just measuring big source map processing time (outside main code) or adding measures to several places in code? I've created #166 to address it.