Skip to content

Instantly share code, notes, and snippets.

@fhunleth
Last active May 28, 2023 19:39
Show Gist options
  • Save fhunleth/33763ddef22c955b407c49a413205636 to your computer and use it in GitHub Desktop.
Save fhunleth/33763ddef22c955b407c49a413205636 to your computer and use it in GitHub Desktop.
Comparison of RPi Zero 2 W running OTP 26, 32-bit vs 64-bit

RPi Zero 2 W, 32-bit, OTP 26

EStone test completed
**** CPU speed UNKNOWN MHz ****
**** Total time 17.605631 seconds ****
**** ESTONES = 38607 ****

    Title                            Millis        Estone       %    Loops

{'ESTONES',38607}
list manipulation                    704             2158         7     6400
small messages                       4277            724          10    1515
medium messages                      4390            1383         14    1527
huge messages                        428             1158         4     52
pattern matching                     103             7551         5     1046
traverse                             385             1289         4     2834
Port i/o                             1219            3660         12    4800
Work with large dataset              290             961          3     1193
Work with large local dataset        276             1011         3     1174
Alloc and dealloc                    65              1904         2     3710
Bif dispatch                         284             6980         8     5623
Binary handling                      740             670          4     581
ets datadictionary                   759             1470         6     342
Generic server (with timeout)        2900            865          9     7977
Small Integer arithmetics            177             1574         3     4157
Float arithmetics                    45              686          1     5526
Function calls                       231             3349         5     882
Timers                               292             423          2     2312
Links                                39              791          1     30

RPi Zero 2 W, 64-bit, OTP 26

EStone test completed
**** CPU speed UNKNOWN MHz ****
**** Total time 14.473552 seconds ****
**** ESTONES = 115408 ****

    Title                            Millis        Estone       %    Loops

{'ESTONES',115408}
list manipulation                    173             8803         7     6400
small messages                       3808            814          10    1515
medium messages                      3943            1540         14    1527
huge messages                        424             1168         4     52
pattern matching                     17              44787        5     1046
traverse                             92              5385         4     2834
Port i/o                             1662            2685         12    4800
Work with large dataset              68              4121         3     1193
Work with large local dataset        60              4672         3     1174
Alloc and dealloc                    22              5519         2     3710
Bif dispatch                         240             8265         8     5623
Binary handling                      659             752          4     581
ets datadictionary                   649             1718         6     342
Generic server (with timeout)        2312            1086         9     7977
Small Integer arithmetics            58              4836         3     4157
Float arithmetics                    19              1628         1     5526
Function calls                       52              14842        5     882
Timers                               200             619          2     2312
Links                                14              2168         1     30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment