Status: New
Owner: ----
New issue 3817 by desco.by: V8 perf regression with using TypeScript
compiler
https://code.google.com/p/v8/issues/detail?id=3817
Hey
I've tried to run TypeScript compiler using a different versions of Node.js
and noticed
that newer versions (that are bundled with a more recent version of V8)
perform worse than the older ones.
Perf degradation is ~ 10-30% depending on the compiler input.
If I compare timings for Node.js 0.10.35 (V8 3.14.4) and IO.js 1.01 (V8
3.31.74) it seems that binding\typechecking\emit steps got slower
Emit was augmented to just produce a final string but don't write anything
to disk.
Given that these three steps do not include any I\O operations it looks
like a V8 perf regresion.
NOTES:
1. TypeScript compiler that I'm using is taken from the master branch
(https://github.com/microsoft/typescript) and is different than the one
included in Octane benchmarks.
- compiler was rewritten from the scratch last year and has almost nothing
in common with the old codebase.
2. Perf timings (on Ubuntu 14.04 64 bit):
Node.js 0.10.35
Parse time: AVG: 0.866 STDDEV: 0.0048990 BEST: 0.86 WORST: 0.87
Bind time: AVG: 0.312 STDDEV: 0.0040000 BEST: 0.31 WORST: 0.32
Check time: AVG: 1.552 STDDEV: 0.0263818 BEST: 1.52 WORST: 1.6
Emit time: AVG: 0.4 STDDEV: 0.0063246 BEST: 0.39 WORST: 0.41
(AVG) Total time: 3.13
IO.js
Parse time: AVG: 0.778 STDDEV: 0.0074833 BEST: 0.77 WORST: 0.79
Bind time: AVG: 0.346 STDDEV: 0.0048990 BEST: 0.34 WORST: 0.35
Check time: AVG: 2.088 STDDEV: 0.0116619 BEST: 2.07 WORST: 2.1
Emit time: AVG: 0.596 STDDEV: 0.0135647 BEST: 0.58 WORST: 0.61
(AVG) Total time: 3.808
Repro: I've put the compiler js + input files on GitHub
(https://github.com/vladima/perftest)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.