saagie / sdk

Saagie 📦 SDK for Technologies
https://www.saagie.com/
Apache License 2.0
2 stars 5 forks source link

⚡ huge performance improvement on js transpilation #66

Closed yoannfleurydev closed 4 years ago

yoannfleurydev commented 4 years ago

This needs to be done in the bundler file and to be tested on a real technology

yoannfleurydev commented 4 years ago

npm run build on the initialization template before the migration to esbuild without cache

________________________________________________________
Executed in    3.37 secs   fish           external 
   usr time    9.15 secs  580.00 micros    9.15 secs 
   sys time    1.34 secs   86.00 micros    1.34 secs

npm run build on the initialization template before the migration to esbuild with cache (on a second run)

________________________________________________________
Executed in    1.77 secs   fish           external 
   usr time    2.23 secs  648.00 micros    2.23 secs 
   sys time    0.51 secs    0.00 micros    0.51 secs

Giving the following output:

image

yoannfleurydev commented 4 years ago

npm run build on the initialization template after the migration to esbuild

________________________________________________________
Executed in    1.15 secs   fish           external 
   usr time  1010.89 millis  482.00 micros  1010.41 millis 
   sys time  247.72 millis    0.00 micros  247.72 millis 
github-actions[bot] commented 4 years ago

:rocket: PR was released in v0.11.0 :rocket: