Commit Graph

125 Commits

Author SHA1 Message Date
embeddedt
80a4585efd
Do not deserialize model JSONs in parallel
Some Forge model loaders attempt to read more models while
deserializing, which causes issues
2023-02-09 22:01:32 -05:00
embeddedt
08fd01c09f More improvements to async model loading, but still crashes sometimes 2023-02-09 14:33:06 -05:00
embeddedt
eb99ce47d8 Measure vanilla bootstrap time 2023-02-09 10:44:35 -05:00
embeddedt
611a8e18cb Add patch for Netty packet leak
Fixes https://github.com/embeddedt/ModernFix/issues/15
Related:
https://github.com/EnigmaticaModpacks/Enigmatica6/issues/4469
https://github.com/MinecraftForge/MinecraftForge/pull/8181
https://github.com/MinecraftForge/MinecraftForge/pull/8042
2023-02-09 10:03:37 -05:00
embeddedt
6ebc3bbe03 Implement parallel baking for vanilla models 2023-02-08 15:20:07 -05:00
embeddedt
0111a8e2ec Improve reliability of async blockstate rebuild logic 2023-02-08 14:02:35 -05:00
embeddedt
ae796f2386 Revert unfinished change 2023-02-08 13:58:07 -05:00
embeddedt
3d7422496e Fix occasional CME when rebuilding blockstate cache 2023-02-08 09:56:17 -05:00
embeddedt
0ffb3cc973
Further optimizations to model loading 2023-02-06 10:01:15 -05:00
embeddedt
30ae895fa5
Add option to rebuild blockstate caches on a background thread 2023-02-04 12:56:32 -05:00
embeddedt
e9a6a3d194
More tweaks to model loading 2023-02-04 12:43:38 -05:00
embeddedt
aead8ef90f
Disable resource location deduplication for now due to CPU time 2023-02-01 21:19:33 -05:00
embeddedt
fcc6abe3b7
Cache model dependencies and materials 2023-01-29 22:24:12 -05:00
embeddedt
72def15ac6
More tweaks to executor 2023-01-29 22:00:00 -05:00
embeddedt
a71a036ae8
Move vanilla model baking earlier in the loading process 2023-01-29 21:37:18 -05:00
embeddedt
9f112f2fbc
Fix splash screen freezing when workers are busy 2023-01-29 20:32:57 -05:00
embeddedt
c861870306
Remove log messages from resource pack cache
This feature is pretty stable
2023-01-29 20:22:53 -05:00
embeddedt
f24f63d6d9
Reduce performance impact when building ingredient filter 2023-01-29 20:18:05 -05:00
embeddedt
dde3a3e517
1.5.2 2023-01-29 18:19:37 -05:00
embeddedt
d1aa03a0c5
Tweak JEI injection for compatibility with 7.8 2023-01-29 18:19:21 -05:00
embeddedt
4a68971ca3
1.5.1 2023-01-28 21:02:04 -05:00
embeddedt
536f6b9a50
Handle unnormalized resource paths
Fixes #14
2023-01-28 21:01:45 -05:00
embeddedt
48b4f976df
Add mod scanning optimization (requires Blacksmith) 2023-01-28 20:51:24 -05:00
embeddedt
d9378d4a80
ModernFix 1.5.0 2023-01-28 13:08:32 -05:00
embeddedt
8dc915037c
Improve blockstate cache rebuild logic, remove vanilla search trees if JEI is installed 2023-01-28 12:49:38 -05:00
embeddedt
fa9a3bb890
Avoid recreating arrays when computing block state cache 2023-01-28 11:19:39 -05:00
embeddedt
5c914deeb7
More experimental features 2023-01-28 10:56:50 -05:00
embeddedt
5c4e77b211
Enable class search cache 2023-01-28 10:13:39 -05:00
embeddedt
ccc3959328
Experimental multipart parallelizations 2023-01-28 10:06:13 -05:00
embeddedt
8e99cac6a7
Code cleanup 2023-01-28 08:29:48 -05:00
embeddedt
497393bf59
Adjust ArgsClassGenerator start index based on class cache 2023-01-28 08:27:38 -05:00
embeddedt
ba30b37552
Disable biome container compression when Chocolate Fix is installed 2023-01-22 21:10:02 -05:00
embeddedt
8a38642793
Fix hang 2023-01-22 21:09:47 -05:00
embeddedt
2dd47e4dbe
Add FerriteCore to dev env 2023-01-22 20:23:54 -05:00
embeddedt
f2de12329e
Add model predicate flattening 2023-01-22 20:23:41 -05:00
embeddedt
6b28cb5ebc
Port biome palette and chunk section optimizations from Hydrogen 2023-01-22 20:11:03 -05:00
embeddedt
ad5fcf44e5
Add theoretical performance optimization for Scanner
Useless for now until I find a way of running transformers
before mods load
2023-01-22 18:56:43 -05:00
embeddedt
8cdc425d7d
Ensure the main thread does not spin when no tasks are available 2023-01-22 18:07:48 -05:00
embeddedt
a8df933e19
Add API to allow stopping already stopped AsyncStopwatch 2023-01-22 16:32:50 -05:00
embeddedt
23b4652864
Improve class transformer cache 2023-01-22 14:23:06 -05:00
embeddedt
95d7410722
Add FIXME note to MixinTransformerHasher 2023-01-22 12:47:37 -05:00
embeddedt
2a29aee37b
Move hash computation into its own method 2023-01-21 22:08:59 -05:00
embeddedt
bbe5709070
Small classloader optimization 2023-01-21 21:48:19 -05:00
embeddedt
09ffb73a70
Don't clear blockstate cache field
This will break one of FerriteCore's optimizations
2023-01-21 21:15:24 -05:00
embeddedt
a800f6d704
Add ResourceLocation deduplication from Hydrogen 2023-01-21 21:15:13 -05:00
embeddedt
15524d975d
Store classes in separate files 2023-01-21 20:57:07 -05:00
embeddedt
277ea384e7
Support injecting new transformer outside of dev 2023-01-21 20:31:34 -05:00
embeddedt
ac99791d3a
Deduplicate empty byte arrays 2023-01-21 12:39:27 -05:00
embeddedt
41eef0b6ab
New class transformer cache
Hashes individual mixins/coremods and therefore needs no special invalidation logic
2023-01-21 12:33:17 -05:00
embeddedt
62eb72ea68 1.4.4 2023-01-19 10:51:30 -05:00