Message259389
Test with jemalloc using the shell script "python.jemalloc":
---
#!/bin/sh
LD_PRELOAD=/usr/lib64/libjemalloc.so /home/haypo/prog/python/default/python "$@"
---
Memory consumption:
python3 -u perf.py -m ../default/python ../default/python.jemalloc
Report on Linux smithers 4.3.3-300.fc23.x86_64 #1 SMP Tue Jan 5 23:31:01 UTC 2016 x86_64 x86_64
Total CPU cores: 8
### 2to3 ###
Mem max: 43100.000 -> 220.000: 195.9091x smaller
### chameleon_v2 ###
Mem max: 367276.000 -> 224.000: 1639.6250x smaller
### django_v3 ###
Mem max: 24136.000 -> 284.000: 84.9859x smaller
### fastpickle ###
Mem max: 8692.000 -> 284.000: 30.6056x smaller
### fastunpickle ###
Mem max: 8704.000 -> 216.000: 40.2963x smaller
### json_dump_v2 ###
Mem max: 10448.000 -> 216.000: 48.3704x smaller
### json_load ###
Mem max: 8444.000 -> 220.000: 38.3818x smaller
### nbody ###
Mem max: 7388.000 -> 220.000: 33.5818x smaller
### regex_v8 ###
Mem max: 12764.000 -> 220.000: 58.0182x smaller
### tornado_http ###
Mem max: 28216.000 -> 228.000: 123.7544x smaller
****
Performance:
Report on Linux smithers 4.3.3-300.fc23.x86_64 #1 SMP Tue Jan 5 23:31:01 UTC 2016 x86_64 x86_64
Total CPU cores: 8
### 2to3 ###
7.413484 -> 7.189792: 1.03x faster
### chameleon_v2 ###
Min: 5.559697 -> 5.869468: 1.06x slower
Avg: 5.672448 -> 6.033152: 1.06x slower
Significant (t=-13.67)
Stddev: 0.12098 -> 0.14203: 1.1740x larger
### nbody ###
Min: 0.242194 -> 0.229747: 1.05x faster
Avg: 0.244991 -> 0.235297: 1.04x faster
Significant (t=9.75)
Stddev: 0.00262 -> 0.00652: 2.4861x larger
### regex_v8 ###
Min: 0.042532 -> 0.046920: 1.10x slower
Avg: 0.043249 -> 0.047907: 1.11x slower
Significant (t=-13.23)
Stddev: 0.00180 -> 0.00172: 1.0503x smaller
### tornado_http ###
Min: 0.265755 -> 0.274526: 1.03x slower
Avg: 0.273617 -> 0.284186: 1.04x slower
Significant (t=-6.67)
Stddev: 0.00583 -> 0.01474: 2.5297x larger
The following not significant results are hidden, use -v to show them:
django_v3, fastpickle, fastunpickle, json_dump_v2, json_load. |
|
Date |
User |
Action |
Args |
2016-02-02 14:47:27 | vstinner | set | recipients:
+ vstinner, rhettinger, pitrou, Yury.Selivanov, jtaylor, serhiy.storchaka, yselivanov |
2016-02-02 14:47:27 | vstinner | set | messageid: <1454424447.48.0.749884702566.issue26249@psf.upfronthosting.co.za> |
2016-02-02 14:47:27 | vstinner | link | issue26249 messages |
2016-02-02 14:47:27 | vstinner | create | |
|