Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
babelon5user
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
babelon5user
11y ago
So I've isolated the problem - babel 6.0.2 installed with npm 2.14.7 is slow, and when installed with npm 3.3.6 is fast. OS and node version is not a factor.
2.
▲
by
babelon5user
11y ago
Babel 6.0.2 slowness reproduced on Ubuntu 14.04 using only node 4.2.1 and npm 2.14.7: $ uname -v #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 $ node -v v4.2.1 $ npm -v 2.14.7 $ npm install babel $ npm install babel-cli $
3.
▲
by
babelon5user
11y ago
Regarding the very slow babel 6.0.2 timings - something odd is going on. I removed the babel 6.0.2 install, installed node 5.0.0 which ships with npm 3.3.6, ran the install commands at the top of this thread and the babel 6.0.2 speed reache
4.
▲
by
babelon5user
11y ago
Not crazy about the lack of defaults for the old behavior, but this concerns me more... Time to transpile "class Foo {}" babel 5.8.23: 0.55 real, 0.54 user, 0.05 sys babel 6.0.2: 2.37 real, 2.19 user, 0.23 sys Why is ba