Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More performance tweaks #91

Merged
merged 6 commits into from Oct 7, 2019
Merged

More performance tweaks #91

merged 6 commits into from Oct 7, 2019

Conversation

andrey-legayev
Copy link
Contributor

@andrey-legayev andrey-legayev commented Sep 24, 2019

Hi,

I've tried to go deeper into performance tweaks.
Please review series of changes which I've prepared.

I've bench-marked every improvement separately before deciding whether to add it.

As a test I've run new and old version on JS library for 3D rendering (threejs-lib) which consists of 352 JavaScript files, 11MB.
I compared MD5 of minified content for new and current-master versions of JShink - no changes found.

Current master:
real 0m10,164s
user 0m10,118s
sys 0m0,036s

New version:
real 0m9,469s
user 0m9,454s
sys 0m0,008s

New version is 0.695 sec faster, 6.8% improvement (on this specific JS lib).
IMO not bad :-)

Andrey.

@tedivm
Copy link
Member

tedivm commented Sep 24, 2019

Once the PR is ready to merge please tag me and I'll take a look.

Thanks for the contributions!

@andrey-legayev
Copy link
Contributor Author

All tests are passed.
@tedivm it's ready for review

@andrey-legayev
Copy link
Contributor Author

@tedivm PR is ready to merge

@tedivm tedivm merged commit aed09ea into tedious:master Oct 7, 2019
@ihor-sviziev ihor-sviziev deleted the perf-fixes branch April 14, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants