Skip to content

Instantly share code, notes, and snippets.

@ichttt
Last active January 12, 2020 12:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ichttt/98da420deabd8e904ac53fece883df16 to your computer and use it in GitHub Desktop.
6 Tests for both old and new version.
OLD is forge 30.0.36 from files
NEW is self-build forge with modifications to modlauncher, forge and accesstransformer
I ran 6 tests in 2 blocks, measured using the vanilla launcher and the timestamps of the first log message (Advanced terminal features are not available in this environment),
and the last log message before the main menu shows (Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas)
=======================================
=======================================
OLD block 1
First log: 13:12:18.132
Last log: 13:12:34.517
diff (startup time): 16.385 seconds
First log: 13:13:04.287
Last log: 13:13:20.458
diff (startup time): 16.171 seconds
First log: 13:14:28.083
Last log: 13:14:43.483
diff (startup time): 15.4 seconds
=======================================
===================================
NEW block 1
First log: 13:15:21.391
Last log: 13:15:34.656
diff (startup time): 13.265 seconds
First log: 13:16:17.898
Last log: 13:16:30.717
diff (startup time): 12.819 seconds
First log: 13:17:29.818
Last log: 13:17:42.681
diff (startup time): 12.843 seconds
=======================================
======================================
OLD block 2
First log: 13:18:56.886
Last log: 13:19:12.879
diff (startup time): 15.993 seconds
First log: 13:20:29.756
Last log: 13:20:45.475
diff (startup time): 15.719 seconds
First log: 13:21:31.139
Last log: 13:21:47.13 seconds
diff (startup time): 15.992 seconds
=======================================
NEW block 2
First log: 13:22:41.642
Last log: 13:22:54.828
diff (startup time): 13.186 seconds
First log: 13:23:37.102
Last log: 13:23:50.286
diff (startup time): 13.184 seconds
First log: 13:24:26.200
Last log: 13:24:39.164
diff (startup time): 12.964 seconds
=======================================
=======================================
CONCLUSION
NEW: mean 13.04 s startup time (lowest 12.819s, highest 13.265s)
OLD: mean 15.93 s startup time (lowest 15.400s, highest 16.385s)
=======================================
TEST ENVIROMENT:
java: Oracle 1.8.0_51 (bundled with vanilla launcher)
java args: Default of vanilla launcher (Xmx2G, G1GC)
CPU: Intel i7 4790K@4.5Ghz
OS: Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment