1
0
Fork 0
mirror of synced 2024-11-08 09:48:58 -05:00

New tests (as of 12-31-15), 1000x vs 100x except for laptop. Will update that after the new year.

Matt Hamilton 2015-12-31 05:34:48 -05:00
parent 418d23ff29
commit e5f5049f91

@ -2,7 +2,7 @@
Speed is extremely important and is something Zim takes pride in. Many users of Zsh frameworks complain of the slowness in gaining an interactive session. Below is a load-time comparison of many popular frameworks.
The tests were done with almost the exact same modules/plugins on various machines. Each load-time test was run 100 times to get the best possible results. The tests were run with `for i in {1..100}; do time -ic 'exit'; done`. The script that generated these results can be found here: https://github.com/Eriner/zsh-framework-benchmark
The tests were done with almost the exact same modules/plugins on various machines. Each load-time test was run 1,000 times to get the best possible results. The tests were run with `for i in {1..1000}; do time -ic 'exit'; done`. The script that generated these results can be found here: https://github.com/Eriner/zsh-framework-benchmark
The default configurations for each framework are changed only slightly from their default. This is to match feature-parity against the baseline, Zim.
@ -10,18 +10,20 @@ The default configurations for each framework are changed only slightly from the
#### Raspberry Pi 2 (overclocked to turbo preset)
```
The average startup time for oh-my-zsh is: 1.263948333333333
The average startup time for zplug is: 1.3285799999999985
The average startup time for prezto is: 0.89286727272727551
The average startup time for zim is: 0.61476090909091163
The average startup time for oh-my-zsh is: 1.2623799999999996
The average startup time for zplug is: 1.3417381818181828
The average startup time for prezto is: 1.1222281818181825
The average startup time for zim is: 0.60497090909090934
```
#### Desktop (HDD, AMD 8-core @5GHz)
```
The average startup time for oh-my-zsh is: 0.10499009900990101
The average startup time for zplug is: 0.11785148514851501
The average startup time for prezto is: 0.093247524752475261
The average startup time for zim is: 0.067990196078431459
The average startup time for oh-my-zsh is: 0.10345636363636242
The average startup time for zplug is: 0.11895545454545389
The average startup time for prezto is: 0.093861818181817588
The average startup time for zim is: 0.055364545454545944
```
#### Laptop (SSD, Lenovo X1 Carbon Gen 3)
@ -34,8 +36,9 @@ The average startup time for zim is: 0.053629999999999969
#### Server (HDD, Intel 8-core @2.4GHz)
```
The average startup time for oh-my-zsh is: 0.81906000000000034
The average startup time for zplug is: 0.91442999999999997
The average startup time for prezto is: 0.73892999999999953
The average startup time for zim is: 0.38811000000000023
The average startup time for oh-my-zsh is: 0.80886727272727321
The average startup time for zplug is: 0.92005727272727444
The average startup time for prezto is: 0.73909000000000258
The average startup time for zim is: 0.3699409090909111
```