Testing van be done at https://snappymail.eu/demo/
This commit is contained in:
djmaze 2020-11-09 20:14:04 +01:00
parent 0ec37b7e90
commit 542d9c91e9
10 changed files with 215 additions and 270 deletions

View file

@ -64,6 +64,7 @@ This fork of RainLoop has the following changes:
* Split Admin specific JavaScript code from User code
* JSON reviver
* Better memory garbage collection management
* Added serviceworker for Notifications
### Removal of old JavaScript
@ -107,24 +108,25 @@ Things might work in Edge 18, Firefox 50-62 and Chrome 54-68 due to one polyfill
RainLoop 1.14 vs SnappyMail
|js/* |RainLoop |Snappy |
|----------- |--------: |--------: |
|admin.js |2.130.942 | 652.764 |
|app.js |4.184.455 |2.319.847 |
|boot.js | 671.522 | 5.285 |
|libs.js | 647.614 | 235.271 |
|polyfills.js | 325.834 | 0 |
|TOTAL |7.960.367 |3.213.167 |
|js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |
|admin.js |2.130.942 | 652.023 |
|app.js |4.184.455 |2.310.715 |
|boot.js | 671.522 | 5.285 |
|libs.js | 647.614 | 235.271 |
|polyfills.js | 325.834 | 0 |
|serviceworker.js | 0 | 285 |
|TOTAL |7.960.367 |3.203.579 |
|js/min/* |RainLoop |Snappy |Rain gzip |gzip |brotli |
|--------------- |--------: |--------: |--------: |--------: |--------: |
|admin.min.js | 252.147 | 90.573 | 73.657 | 23.735 | 20.767 |
|app.min.js | 511.202 | 312.734 |140.462 | 83.425 | 67.822 |
|admin.min.js | 252.147 | 90.470 | 73.657 | 23.707 | 20.738 |
|app.min.js | 511.202 | 310.166 |140.462 | 83.178 | 67.672 |
|boot.min.js | 66.007 | 2.918 | 22.567 | 1.500 | 1.275 |
|libs.min.js | 572.545 | 130.767 |176.720 | 47.288 | 42.043 |
|polyfills.min.js | 32.452 | 0 | 11.312 | 0 | 0 |
|TOTAL |1.434.353 | 536.992 |424.718 |155.948 |131.907 |
|TOTAL (no admin) |1.182.206 | 446.419 |351.061 |132.213 |111.140 |
|TOTAL |1.434.353 | 534.321 |424.718 |155.673 |131.728 |
|TOTAL (no admin) |1.182.206 | 443.851 |351.061 |131.966 |110.990 |
For a user its around 62% smaller and faster than traditional RainLoop.