Skip to content

Reduce the default LCache size by half. From 4Kbyte to 2Kbyte. #1121

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
Jun 3, 2016

Conversation

zherczeg
Copy link
Member

@zherczeg zherczeg commented Jun 3, 2016

Benchmark RSS (bytes) Perf (sec)
3d-cube.js 73728 -> 69632 : +5.556% 1.490 -> 1.491 : -0.102%
3d-raytrace.js 212992 -> 217088 : -1.923% 1.539 -> 1.588 : -3.154%
access-binary-trees.js 77824 -> 69632 : +10.526% 0.763 -> 0.761 : +0.219%
access-fannkuch.js 32768 -> 24576 : +25.000% 3.253 -> 3.230 : +0.698%
access-nbody.js 32768 -> 28672 : +12.500% 1.589 -> 1.594 : -0.291%
bitops-3bit-bits-in-byte.js 20480 -> 16384 : +20.000% 0.793 -> 0.792 : +0.023%
bitops-bits-in-byte.js 20480 -> 16384 : +20.000% 1.043 -> 1.044 : -0.099%
bitops-bitwise-and.js 24576 -> 16384 : +33.333% 1.945 -> 1.931 : +0.719%
bitops-nsieve-bits.js 159744 -> 155648 : +2.564% 2.559 -> 2.553 : +0.270%
controlflow-recursive.js 110592 -> 106496 : +3.704% 0.548 -> 0.549 : -0.013%
crypto-aes.js 98304 -> 94208 : +4.167% 1.480 -> 1.478 : +0.144%
crypto-md5.js 176128 -> 167936 : +4.651% 0.929 -> 0.925 : +0.409%
crypto-sha1.js 118784 -> 110592 : +6.897% 0.872 -> 0.866 : +0.714%
date-format-tofte.js 53248 -> 45056 : +15.385% 1.173 -> 1.174 : -0.097%
date-format-xparb.js 53248 -> 49152 : +7.692% 0.612 -> 0.609 : +0.480%
math-cordic.js 28672 -> 20480 : +28.571% 2.000 -> 2.000 : -0.020%
math-partial-sums.js 24576 -> 16384 : +33.333% 1.124 -> 1.116 : +0.719%
math-spectral-norm.js 28672 -> 24576 : +14.286% 0.888 -> 0.890 : -0.129%
string-base64.js 143360 -> 135168 : +5.714% 4.736 -> 4.733 : +0.059%
string-fasta.js 40960 -> 32768 : +20.000% 2.267 -> 2.270 : -0.140%
Geometric mean: +14.242% +0.024%

The performance is roughly the same, but provides 14% memory reduction.

@LaszloLango LaszloLango added enhancement An improvement memory consumption Affects memory consumption labels Jun 3, 2016
@LaszloLango
Copy link
Contributor

LGTM

1 similar comment
@dbatyai
Copy link
Member

dbatyai commented Jun 3, 2016

LGTM

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@zherczeg zherczeg merged commit 98d2b66 into jerryscript-project:master Jun 3, 2016
@zherczeg zherczeg deleted the half_lcache branch June 3, 2016 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement memory consumption Affects memory consumption
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants