You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main performance improvement comes from the fact that the lighting engine is evaluated "lazily", thus it is able to batch more lighting updates
20
+
into a single pass.
21
+
22
+
Here are some simple to understand values, generated via profiling a pre-set test case:
23
+
24
+
<details>
25
+
<summary>Test Case</summary>
26
+
27
+
- World Type: Default
28
+
- World Seed: 123
29
+
- Game Mode: Creative
30
+
- Render Distance: 16
31
+
32
+
Profiler is started right before clicking Create New World, and stopped after 10 seconds of flying in a straight line in creative mode.
33
+
34
+
Without Lumi, the active server time spent in lighting engine is 34% of the total active server time (not counting when the server thread is sleeping).
35
+
36
+
With Lumi, this fraction goes down to 13%, or an approximately 2.5x performance increase over vanilla.
37
+
38
+
</details>
39
+
40
+
<details>
41
+
<summary>Flame Graphs</summary>
42
+
43
+
Horizontal axis is time, vertical axis is the call stack. The blue highlighted parts are calls to the lighting engine update method.
44
+
45
+

0 commit comments