Skip to content

Optimize comparison in VM. #1183

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

Merged
merged 1 commit into from
Jul 4, 2016

Conversation

zherczeg
Copy link
Member

@zherczeg zherczeg commented Jul 4, 2016

5% improvement on 3d-cube and 8% on math-cordic

Benchmark Perf (sec)
3d-cube.js 1.035 -> 0.980 : +5.308%
3d-raytrace.js 1.162 -> 1.135 : +2.333%
access-binary-trees.js 0.622 -> 0.620 : +0.234%
access-fannkuch.js 2.706 -> 2.673 : +1.229%
access-nbody.js 1.164 -> 1.154 : +0.828%
bitops-3bit-bits-in-byte.js 0.586 -> 0.584 : +0.345%
bitops-bits-in-byte.js 0.875 -> 0.860 : +1.734%
bitops-bitwise-and.js 1.460 -> 1.459 : +0.050%
bitops-nsieve-bits.js 1.924 -> 1.899 : +1.284%
controlflow-recursive.js 0.434 -> 0.434 : +0.157%
crypto-aes.js 1.207 -> 1.202 : +0.451%
crypto-md5.js 0.773 -> 0.773 : +0.117%
crypto-sha1.js 0.729 -> 0.727 : +0.226%
date-format-tofte.js 0.914 -> 0.909 : +0.528%
date-format-xparb.js 0.494 -> 0.495 : -0.204%
math-cordic.js 1.562 -> 1.434 : +8.226%
math-partial-sums.js 0.814 -> 0.812 : +0.231%
math-spectral-norm.js 0.619 -> 0.610 : +1.437%
string-base64.js 2.132 -> 2.118 : +0.688%
string-fasta.js 1.982 -> 1.919 : +3.191%
Geometric mean: +1.441%

Binary size 156236 (unchanged).

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@LaszloLango LaszloLango added enhancement An improvement performance Affects performance labels Jul 4, 2016
@LaszloLango
Copy link
Contributor

LGTM

1 similar comment
@dbatyai
Copy link
Member

dbatyai commented Jul 4, 2016

LGTM

@zherczeg zherczeg merged commit 5ed6582 into jerryscript-project:master Jul 4, 2016
@zherczeg zherczeg deleted the optimize_comparison branch July 4, 2016 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement performance Affects performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants