Archive incari-client (client, 26.3, clean)
This commit is contained in:
@@ -0,0 +1,230 @@
|
||||
# The benchmark's baseline (ADR 0021; tools/webbuild's PerfBaseline). ./gradlew
|
||||
# :app-web:benchmark fails when a figure is worse than this machine's recorded one by more than
|
||||
# its rule allows: both more than the percentage and more than the absolute amount, so noise in a
|
||||
# small figure doesn't fail a run. Figures without a rule are recorded but never fail.
|
||||
#
|
||||
# Re-record a machine with -Pbenchmark.updateBaseline (and say why in the pull request). Figures
|
||||
# are machine-specific: -Pbenchmark.machine names the machine, and only its own lines are compared.
|
||||
# They're recorded on the release build (-Pteavm.release, ADR 0025); the lobby's from then
|
||||
# on are of the whole scene (its floor and signs, built once its chunks have loaded).
|
||||
# docs/benchmark.md lists the reference machines.
|
||||
#
|
||||
# rule.<figure>=<higher|lower is better> <percent> <absolute>
|
||||
|
||||
# Frame rate and frame time.
|
||||
rule.fpsMedian=higher 5 1
|
||||
rule.fpsLow1=higher 15 3
|
||||
rule.frameP99Millis=lower 15 2
|
||||
# Where the frame's time goes (milliseconds a frame).
|
||||
rule.tickMillis=lower 20 0.5
|
||||
rule.extractMillis=lower 20 0.5
|
||||
rule.renderMillis=lower 20 0.5
|
||||
rule.gpuMillis=lower 20 0.5
|
||||
# Draw calls: steady for a fixed scene, so tighter.
|
||||
rule.drawCalls=lower 10 5
|
||||
rule.terrainDrawCalls=lower 10 3
|
||||
# Memory, in megabytes, and garbage collection pauses.
|
||||
rule.heapMaxMB=lower 10 16
|
||||
rule.nativeMaxMB=lower 10 16
|
||||
rule.gcMaxPauseMillis=lower 30 4
|
||||
# Loading (milliseconds from navigation) and the download (bytes, gzip).
|
||||
rule.coldTitleMillis=lower 20 500
|
||||
rule.warmTitleMillis=lower 20 500
|
||||
rule.joinMillis=lower 20 500
|
||||
rule.rejoinMillis=lower 20 500
|
||||
rule.gzipBytes=lower 2 10000
|
||||
|
||||
desktop.combat.drawCalls=84.27
|
||||
desktop.combat.extractMillis=0.40
|
||||
desktop.combat.fpsLow1=46.54
|
||||
desktop.combat.fpsMean=60.00
|
||||
desktop.combat.fpsMedian=59.24
|
||||
desktop.combat.frameP99Millis=20.69
|
||||
desktop.combat.frames=2430
|
||||
desktop.combat.gcCount=33
|
||||
desktop.combat.gcMaxPauseMillis=1.81
|
||||
desktop.combat.gcTotalMillis=25.36
|
||||
desktop.combat.gpuMillis=0.87
|
||||
desktop.combat.heapLiveMB=344.91
|
||||
desktop.combat.heapMaxMB=409.06
|
||||
desktop.combat.meshQueueMax=0
|
||||
desktop.combat.meshQueueMean=0
|
||||
desktop.combat.nativeLiveMB=52.46
|
||||
desktop.combat.nativeMaxMB=74.44
|
||||
desktop.combat.poolMillis=0
|
||||
desktop.combat.renderMillis=0.69
|
||||
desktop.combat.slow1.extractMillis=0.43
|
||||
desktop.combat.slow1.frameMillis=5.75
|
||||
desktop.combat.slow1.intervalMillis=21.49
|
||||
desktop.combat.slow1.poolLateMillis=0
|
||||
desktop.combat.slow1.poolMillis=0
|
||||
desktop.combat.slow1.renderMillis=1.21
|
||||
desktop.combat.slow1.tickMillis=4.04
|
||||
desktop.combat.terrainDrawCalls=4
|
||||
desktop.combat.terrainSections=521
|
||||
desktop.combat.tickMillis=1.30
|
||||
desktop.download.gzipBytes=20397515
|
||||
desktop.flythrough.drawCalls=79.69
|
||||
desktop.flythrough.extractMillis=0.38
|
||||
desktop.flythrough.fpsLow1=45.74
|
||||
desktop.flythrough.fpsMean=60.00
|
||||
desktop.flythrough.fpsMedian=59.68
|
||||
desktop.flythrough.frameP99Millis=20.86
|
||||
desktop.flythrough.frames=3340
|
||||
desktop.flythrough.gcCount=83
|
||||
desktop.flythrough.gcMaxPauseMillis=5.48
|
||||
desktop.flythrough.gcTotalMillis=88.74
|
||||
desktop.flythrough.gpuMillis=0.73
|
||||
desktop.flythrough.heapLiveMB=349.90
|
||||
desktop.flythrough.heapMaxMB=524.32
|
||||
desktop.flythrough.meshQueueMax=76
|
||||
desktop.flythrough.meshQueueMean=4.27
|
||||
desktop.flythrough.nativeLiveMB=51.90
|
||||
desktop.flythrough.nativeMaxMB=74.44
|
||||
desktop.flythrough.poolMillis=1.58
|
||||
desktop.flythrough.renderMillis=0.99
|
||||
desktop.flythrough.slow1.extractMillis=1.28
|
||||
desktop.flythrough.slow1.frameMillis=6.44
|
||||
desktop.flythrough.slow1.intervalMillis=21.86
|
||||
desktop.flythrough.slow1.poolLateMillis=0.01
|
||||
desktop.flythrough.slow1.poolMillis=2.24
|
||||
desktop.flythrough.slow1.renderMillis=1.72
|
||||
desktop.flythrough.slow1.tickMillis=3.26
|
||||
desktop.flythrough.terrainDrawCalls=4.36
|
||||
desktop.flythrough.terrainSections=568.07
|
||||
desktop.flythrough.tickMillis=0.95
|
||||
desktop.load.coldFirstFrameMillis=1737.96
|
||||
desktop.load.coldTitleMillis=2845.94
|
||||
desktop.load.joinMillis=5067.91
|
||||
desktop.load.titleHeapLiveMB=264.58
|
||||
desktop.load.titleNativeLiveMB=20.16
|
||||
desktop.load.warmFirstFrameMillis=1112.94
|
||||
desktop.load.warmReloadedMillis=1605.84
|
||||
desktop.load.warmTitleMillis=2117.80
|
||||
desktop.lobby.drawCalls=128.92
|
||||
desktop.lobby.extractMillis=2.18
|
||||
desktop.lobby.fpsLow1=41.77
|
||||
desktop.lobby.fpsMean=59.98
|
||||
desktop.lobby.fpsMedian=60.42
|
||||
desktop.lobby.frameP99Millis=22.87
|
||||
desktop.lobby.frames=2427
|
||||
desktop.lobby.gcCount=200
|
||||
desktop.lobby.gcMaxPauseMillis=3.70
|
||||
desktop.lobby.gcTotalMillis=122.74
|
||||
desktop.lobby.gpuMillis=0.65
|
||||
desktop.lobby.heapLiveMB=337.17
|
||||
desktop.lobby.heapMaxMB=539.22
|
||||
desktop.lobby.meshQueueMax=19
|
||||
desktop.lobby.meshQueueMean=1.58
|
||||
desktop.lobby.nativeLiveMB=44.98
|
||||
desktop.lobby.nativeMaxMB=74.44
|
||||
desktop.lobby.poolMillis=0.47
|
||||
desktop.lobby.renderMillis=9.89
|
||||
desktop.lobby.slow1.extractMillis=4.21
|
||||
desktop.lobby.slow1.frameMillis=18.85
|
||||
desktop.lobby.slow1.intervalMillis=23.94
|
||||
desktop.lobby.slow1.poolLateMillis=1.49
|
||||
desktop.lobby.slow1.poolMillis=1.79
|
||||
desktop.lobby.slow1.renderMillis=10.03
|
||||
desktop.lobby.slow1.tickMillis=4.55
|
||||
desktop.lobby.terrainDrawCalls=2
|
||||
desktop.lobby.terrainSections=114.89
|
||||
desktop.lobby.tickMillis=1.26
|
||||
|
||||
laptop-floor.combat.drawCalls=16.61
|
||||
laptop-floor.combat.extractMillis=0.89
|
||||
laptop-floor.combat.fpsLow1=22.98
|
||||
laptop-floor.combat.fpsMean=59.20
|
||||
laptop-floor.combat.fpsMedian=61.65
|
||||
laptop-floor.combat.frameP99Millis=20.94
|
||||
laptop-floor.combat.frames=2425
|
||||
laptop-floor.combat.gcCount=18
|
||||
laptop-floor.combat.gcMaxPauseMillis=4.36
|
||||
laptop-floor.combat.gcTotalMillis=48.58
|
||||
laptop-floor.combat.gpuMillis=6.17
|
||||
laptop-floor.combat.heapLiveMB=335.05
|
||||
laptop-floor.combat.heapMaxMB=398.42
|
||||
laptop-floor.combat.meshQueueMax=1
|
||||
laptop-floor.combat.meshQueueMean=0.00
|
||||
laptop-floor.combat.nativeLiveMB=69.24
|
||||
laptop-floor.combat.nativeMaxMB=92.56
|
||||
laptop-floor.combat.poolMillis=0.00
|
||||
laptop-floor.combat.renderMillis=1.91
|
||||
laptop-floor.combat.slow1.extractMillis=0.74
|
||||
laptop-floor.combat.slow1.frameMillis=29.54
|
||||
laptop-floor.combat.slow1.intervalMillis=43.52
|
||||
laptop-floor.combat.slow1.poolLateMillis=0
|
||||
laptop-floor.combat.slow1.poolMillis=0
|
||||
laptop-floor.combat.slow1.renderMillis=23.55
|
||||
laptop-floor.combat.slow1.tickMillis=4.74
|
||||
laptop-floor.combat.terrainDrawCalls=3
|
||||
laptop-floor.combat.terrainSections=1028
|
||||
laptop-floor.combat.tickMillis=1.43
|
||||
laptop-floor.download.gzipBytes=20397515
|
||||
laptop-floor.flythrough.drawCalls=18.83
|
||||
laptop-floor.flythrough.extractMillis=0.79
|
||||
laptop-floor.flythrough.fpsLow1=24.20
|
||||
laptop-floor.flythrough.fpsMean=59.27
|
||||
laptop-floor.flythrough.fpsMedian=60.24
|
||||
laptop-floor.flythrough.frameP99Millis=23.44
|
||||
laptop-floor.flythrough.frames=3298
|
||||
laptop-floor.flythrough.gcCount=35
|
||||
laptop-floor.flythrough.gcMaxPauseMillis=18.05
|
||||
laptop-floor.flythrough.gcTotalMillis=333.28
|
||||
laptop-floor.flythrough.gpuMillis=6.46
|
||||
laptop-floor.flythrough.heapLiveMB=338.39
|
||||
laptop-floor.flythrough.heapMaxMB=487.57
|
||||
laptop-floor.flythrough.meshQueueMax=72
|
||||
laptop-floor.flythrough.meshQueueMean=6.46
|
||||
laptop-floor.flythrough.nativeLiveMB=69.21
|
||||
laptop-floor.flythrough.nativeMaxMB=92.56
|
||||
laptop-floor.flythrough.poolMillis=1.86
|
||||
laptop-floor.flythrough.renderMillis=2.05
|
||||
laptop-floor.flythrough.slow1.extractMillis=5.17
|
||||
laptop-floor.flythrough.slow1.frameMillis=27.34
|
||||
laptop-floor.flythrough.slow1.intervalMillis=41.33
|
||||
laptop-floor.flythrough.slow1.poolLateMillis=2.66
|
||||
laptop-floor.flythrough.slow1.poolMillis=4.24
|
||||
laptop-floor.flythrough.slow1.renderMillis=7.64
|
||||
laptop-floor.flythrough.slow1.tickMillis=12.63
|
||||
laptop-floor.flythrough.terrainDrawCalls=4.45
|
||||
laptop-floor.flythrough.terrainSections=861.95
|
||||
laptop-floor.flythrough.tickMillis=0.99
|
||||
laptop-floor.load.coldFirstFrameMillis=6345.27
|
||||
laptop-floor.load.coldTitleMillis=12002.17
|
||||
laptop-floor.load.joinMillis=14670.95
|
||||
laptop-floor.load.rejoinMillis=11880.94
|
||||
laptop-floor.load.titleHeapLiveMB=237.58
|
||||
laptop-floor.load.titleNativeLiveMB=42.75
|
||||
laptop-floor.load.warmFirstFrameMillis=3814.29
|
||||
laptop-floor.load.warmReloadedMillis=7527.75
|
||||
laptop-floor.load.warmTitleMillis=8035.69
|
||||
laptop-floor.lobby.drawCalls=28.08
|
||||
laptop-floor.lobby.extractMillis=3.38
|
||||
laptop-floor.lobby.fpsLow1=32.60
|
||||
laptop-floor.lobby.fpsMean=58.68
|
||||
laptop-floor.lobby.fpsMedian=60.92
|
||||
laptop-floor.lobby.frameP99Millis=25.46
|
||||
laptop-floor.lobby.frames=2386
|
||||
laptop-floor.lobby.gcCount=121
|
||||
laptop-floor.lobby.gcMaxPauseMillis=7.13
|
||||
laptop-floor.lobby.gcTotalMillis=422.09
|
||||
laptop-floor.lobby.gpuMillis=5.65
|
||||
laptop-floor.lobby.heapLiveMB=323.68
|
||||
laptop-floor.lobby.heapMaxMB=497.13
|
||||
laptop-floor.lobby.meshQueueMax=34
|
||||
laptop-floor.lobby.meshQueueMean=3.62
|
||||
laptop-floor.lobby.nativeLiveMB=62.91
|
||||
laptop-floor.lobby.nativeMaxMB=92.56
|
||||
laptop-floor.lobby.poolMillis=0.56
|
||||
laptop-floor.lobby.renderMillis=9.34
|
||||
laptop-floor.lobby.slow1.extractMillis=5.38
|
||||
laptop-floor.lobby.slow1.frameMillis=25.26
|
||||
laptop-floor.lobby.slow1.intervalMillis=30.68
|
||||
laptop-floor.lobby.slow1.poolLateMillis=0.67
|
||||
laptop-floor.lobby.slow1.poolMillis=1.47
|
||||
laptop-floor.lobby.slow1.renderMillis=13.54
|
||||
laptop-floor.lobby.slow1.tickMillis=5.72
|
||||
laptop-floor.lobby.terrainDrawCalls=2
|
||||
laptop-floor.lobby.terrainSections=271.76
|
||||
laptop-floor.lobby.tickMillis=1.56
|
||||
@@ -0,0 +1,141 @@
|
||||
# The benchmark (ADR 0021): ./gradlew :app-web:benchmark plays these scenarios in the browser
|
||||
# build and reports what the page's profiler measured. The format is tools/webbuild's
|
||||
# BenchmarkScript; docs/benchmark.md explains the figures and how to run it on a Chromebook.
|
||||
#
|
||||
# The page joins a fresh world from server.properties' seed as IncariBench, with options.txt's
|
||||
# options (render distance 8). The world is made ready before anyone joins: time and weather
|
||||
# stopped, no natural spawns, and the terrain both scenarios see generated in advance, so a scenario
|
||||
# measures the client loading and drawing it, not the server making it. The player watches each
|
||||
# scenario as a spectator of an invisible armor stand: a camera the server moves, so every run
|
||||
# sees the same frames. options.txt throttles the frame rate only when minimized.
|
||||
|
||||
server
|
||||
rcon:gamerule advance_time false
|
||||
rcon:gamerule advance_weather false
|
||||
rcon:gamerule spawn_mobs false
|
||||
rcon:gamerule spawn_patrols false
|
||||
rcon:gamerule spawn_phantoms false
|
||||
rcon:gamerule spawn_wandering_traders false
|
||||
rcon:gamerule command_block_output false
|
||||
rcon:gamerule mob_drops false
|
||||
rcon:time set 6000
|
||||
rcon:weather clear
|
||||
# The fly-through's corridor, x -128 to 895 and z -128 to 127: the flight and its render
|
||||
# distance. forceload takes 256 chunks at a time.
|
||||
rcon:forceload add -128 -128 127 127
|
||||
rcon:forceload add 128 -128 383 127
|
||||
rcon:forceload add 384 -128 639 127
|
||||
rcon:forceload add 640 -128 895 127
|
||||
# The arena, 2000 blocks north, with its render distance.
|
||||
rcon:forceload add -128 -2128 127 -1873
|
||||
# The lobby, 2000 blocks south, with its render distance.
|
||||
rcon:forceload add -128 1872 127 2127
|
||||
rconwait:execute if loaded -128 64 -128 => passed
|
||||
rconwait:execute if loaded 383 64 127 => passed
|
||||
rconwait:execute if loaded 895 64 -128 => passed
|
||||
rconwait:execute if loaded 895 64 127 => passed
|
||||
rconwait:execute if loaded 127 64 -1873 => passed
|
||||
rconwait:execute if loaded -128 64 -2128 => passed
|
||||
rconwait:execute if loaded 127 64 2127 => passed
|
||||
rconwait:execute if loaded -128 64 1872 => passed
|
||||
rcon:forceload remove all
|
||||
# The fly-through's engine: each tick, the camera moves 0.55 blocks east (11 blocks a second, a
|
||||
# sprint-fly). Its chunk stays loaded so it always runs.
|
||||
rcon:forceload add 0 0
|
||||
rcon:setblock 0 318 0 minecraft:repeating_command_block{auto:1b,Command:"execute as @e[tag=incari_camera] at @s run tp @s ~0.55 ~ ~"}
|
||||
|
||||
setup
|
||||
rcon:gamemode spectator IncariBench
|
||||
rcon:tp IncariBench 0.5 140 0.5 -90 25
|
||||
sleep:5000
|
||||
|
||||
scenario flythrough A straight flight east over fresh terrain at 11 blocks a second, render distance 8
|
||||
rcon:kill @e[tag=incari_camera]
|
||||
rcon:summon minecraft:armor_stand 0.5 140 0.5 {Tags:["incari_camera"],Invisible:1b,Marker:1b,NoGravity:1b,Rotation:[-90f,25f]}
|
||||
rcon:spectate @e[tag=incari_camera,limit=1] IncariBench
|
||||
sleep:3000
|
||||
measure:55
|
||||
# A teleport ends the spectating.
|
||||
rcon:tp IncariBench 0.5 212 -2026 0 35
|
||||
rcon:kill @e[tag=incari_camera]
|
||||
|
||||
scenario combat Iron golems against waves of vindicators, pillagers and husks in an arena, watched from its edge
|
||||
rcon:tp IncariBench 0.5 212 -2026 0 35
|
||||
# The teleport loads the arena's chunks a moment later: building before then fails.
|
||||
rconwait:execute if loaded -17 199 -2017 => passed
|
||||
rconwait:execute if loaded 17 204 -1983 => passed
|
||||
rcon:fill -17 199 -2017 17 204 -1983 minecraft:barrier outline
|
||||
rcon:fill -16 199 -2016 16 199 -1984 minecraft:smooth_stone
|
||||
rcon:summon minecraft:armor_stand 0.5 212 -2026 {Tags:["incari_watch"],Invisible:1b,Marker:1b,NoGravity:1b,Rotation:[0f,35f]}
|
||||
rcon:spectate @e[tag=incari_watch,limit=1] IncariBench
|
||||
rcon*10:summon minecraft:iron_golem 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon:spreadplayers 0 -2000 2 14 under 203 false @e[tag=incari_fighter]
|
||||
sleep:5000
|
||||
measure:10
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
measure:10
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
measure:10
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
measure:10
|
||||
rcon:kill @e[tag=incari_fighter]
|
||||
rcon:kill @e[tag=incari_watch]
|
||||
|
||||
# The crowded lobby: a crowd of player-shaped mannequins in armor with their names shown, floating
|
||||
# hologram text, signs, floating items, particle fountains, a sidebar and a boss bar, watched by a
|
||||
# camera orbiting the crowd 20 blocks out (a command block moves it each tick: sideways and turning,
|
||||
# so it circles the lobby's centre while facing it).
|
||||
scenario lobby A crowded server lobby: 80 players in armor with name tags, holograms, signs and particles, circled by the camera
|
||||
rcon:tp IncariBench 0.5 212 1980 0 25
|
||||
# As in the arena: wait for the lobby's chunks before building it.
|
||||
rconwait:execute if loaded -22 199 1978 => passed
|
||||
rconwait:execute if loaded 22 214 2022 => passed
|
||||
rcon:fill -22 199 1978 22 199 2022 minecraft:polished_andesite
|
||||
rcon:fill -22 200 1978 22 214 2022 minecraft:air
|
||||
rcon:fill -22 200 1978 22 200 1978 minecraft:oak_sign[rotation=0]{front_text:{messages:["Welcome","to the","Incari","lobby"]}}
|
||||
rcon:fill -22 200 2022 22 200 2022 minecraft:oak_sign[rotation=8]{front_text:{messages:["Pick a","game","below","!"]}}
|
||||
rcon:fill -22 200 1979 -22 200 2021 minecraft:oak_sign[rotation=12]{front_text:{messages:["Bedwars","Skywars","Duels","Parkour"]}}
|
||||
rcon:fill 22 200 1979 22 200 2021 minecraft:oak_sign[rotation=4]{front_text:{messages:["Rules:","be kind","no hacks","have fun"]}}
|
||||
rcon*80:summon minecraft:mannequin 0 200 2000 {Tags:["incari_lobby"],CustomName:"LobbyPlayer",CustomNameVisible:1b,equipment:{head:{id:"minecraft:iron_helmet"},chest:{id:"minecraft:diamond_chestplate"},legs:{id:"minecraft:iron_leggings"},feet:{id:"minecraft:golden_boots"},mainhand:{id:"minecraft:diamond_sword"}}}
|
||||
rcon:spreadplayers 0 2000 1 15 under 205 false @e[tag=incari_lobby,type=minecraft:mannequin]
|
||||
rcon*24:summon minecraft:armor_stand 0 203 2000 {Tags:["incari_lobby","incari_hologram"],Invisible:1b,Marker:1b,NoGravity:1b,CustomName:"Play now: 1,024 online",CustomNameVisible:1b}
|
||||
rcon:spreadplayers 0 2000 2 18 under 205 false @e[tag=incari_hologram]
|
||||
rcon*12:summon minecraft:text_display 0 205 2000 {Tags:["incari_lobby"],billboard:"center",text:"Incari Network",background:1073741824}
|
||||
rcon:spreadplayers 0 2000 4 18 under 205 false @e[tag=incari_lobby,type=minecraft:text_display]
|
||||
rcon*30:summon minecraft:item 0 201 2000 {Tags:["incari_lobby"],Item:{id:"minecraft:diamond",count:1},NoGravity:1b,Age:-32768,PickupDelay:32767}
|
||||
rcon:spreadplayers 0 2000 1 16 under 205 false @e[tag=incari_lobby,type=minecraft:item]
|
||||
rcon:setblock 1 318 1 minecraft:repeating_command_block{auto:1b,Command:"particle minecraft:end_rod 0 204 2000 10 3 10 0.01 30 force"}
|
||||
rcon:setblock 2 318 0 minecraft:repeating_command_block{auto:1b,Command:"particle minecraft:happy_villager 0 202 2000 14 2 14 0 20 force"}
|
||||
rcon:setblock 2 318 1 minecraft:repeating_command_block{auto:1b,Command:"particle minecraft:flame 0 201 2000 16 1 16 0.01 15 force"}
|
||||
rcon:scoreboard objectives add incari_lobby dummy "Incari Network"
|
||||
rcon:scoreboard objectives setdisplay sidebar incari_lobby
|
||||
rcon:scoreboard players set Online incari_lobby 1024
|
||||
rcon:scoreboard players set Bedwars incari_lobby 312
|
||||
rcon:scoreboard players set Skywars incari_lobby 288
|
||||
rcon:scoreboard players set Duels incari_lobby 201
|
||||
rcon:scoreboard players set Parkour incari_lobby 97
|
||||
rcon:bossbar add incari_lobby "Welcome to the Incari lobby"
|
||||
rcon:bossbar set incari_lobby players @a
|
||||
rcon:summon minecraft:armor_stand 0.5 207 1980 {Tags:["incari_lobbycam"],Invisible:1b,Marker:1b,NoGravity:1b,Rotation:[0f,25f]}
|
||||
rcon:spectate @e[tag=incari_lobbycam,limit=1] IncariBench
|
||||
rcon:setblock 1 318 0 minecraft:repeating_command_block{auto:1b,Command:"execute as @e[tag=incari_lobbycam] at @s run tp @s ^0.35 ^ ^ ~1 ~"}
|
||||
sleep:5000
|
||||
measure:40
|
||||
rcon:setblock 1 318 0 minecraft:air
|
||||
rcon:setblock 1 318 1 minecraft:air
|
||||
rcon:setblock 2 318 0 minecraft:air
|
||||
rcon:setblock 2 318 1 minecraft:air
|
||||
rcon:bossbar remove incari_lobby
|
||||
rcon:scoreboard objectives remove incari_lobby
|
||||
rcon:tp IncariBench 0.5 212 1980 0 25
|
||||
rcon:kill @e[tag=incari_lobby]
|
||||
rcon:kill @e[tag=incari_lobbycam]
|
||||
@@ -0,0 +1,32 @@
|
||||
# The budgets, set for memory (ADR 0025) and start-up (ADR 0026): absolute limits the
|
||||
# benchmark (tools/webbuild's PerfBudget) fails a figure over, whatever the baseline says. Figures are
|
||||
# as report.json names them; a * stands for one part of the name (a scenario). Measured on the
|
||||
# release build (-Pteavm.release), which is what players get.
|
||||
#
|
||||
# max.<figure>=<limit> for every machine: memory (the same build in the same scene keeps
|
||||
# the same heap wherever it runs)
|
||||
# <machine>.max.<figure>=<limit> for one machine: times, which are the machine's speed
|
||||
#
|
||||
# Raising a limit is fine when the pull request says why; the point is that growth is noticed.
|
||||
|
||||
# Memory, in megabytes. The live figures are what the page still holds after a full collection
|
||||
# (the game's own memory, not garbage the browser hasn't collected yet). Set from the release build
|
||||
# of 2026-10-01 (title screen 262 MB live; in the world 337 to 351 MB live, 45 to 53 MB of linear
|
||||
# memory in use, 75 MB of it at its largest) with about a fifth of headroom.
|
||||
max.load.titleHeapLiveMB=320
|
||||
max.*.heapLiveMB=420
|
||||
# Linear memory never shrinks: its largest is what the page keeps for good.
|
||||
max.*.nativeMaxMB=128
|
||||
|
||||
# The memory gate: no garbage collection pause above 16 ms (a frame at 60 fps).
|
||||
max.*.gcMaxPauseMillis=16
|
||||
|
||||
# Start-up, in milliseconds from the navigation (the gate: the warm start to the title screen).
|
||||
# The development desktop (Ryzen 5 9600X): 2.2 s warm and 3.2 s cold measured on 2026-10-01.
|
||||
desktop.max.load.warmTitleMillis=3000
|
||||
desktop.max.load.coldTitleMillis=4500
|
||||
# The floor device, a 4 GB Chromebook (docs/benchmark.md): targets, not measurements, until the
|
||||
# device is measured. Its CPU (Celeron N4500 class) is estimated at about a fifth of the desktop's
|
||||
# single-thread speed, which puts the desktop's 2.2 s warm start near 10 s there.
|
||||
chromebook-4gb.max.load.warmTitleMillis=10000
|
||||
chromebook-4gb.max.load.coldTitleMillis=20000
|
||||
@@ -0,0 +1,56 @@
|
||||
# The client's modules in play, in the page's own world:
|
||||
# ./gradlew :app-web:benchmark -Pbenchmark.singleplayer -Pbenchmark.script=features.txt
|
||||
# -Pbenchmark.history=<a file of its own> -Pteavm.release -Pteavm.fast
|
||||
# -Pbenchmark.query=modules=<ids>
|
||||
# Run it twice, with no modules (modules=) and with the HUD and play modules on, to see what they
|
||||
# cost:
|
||||
# modules=armorpotionview,blockoutline,clearchat,cooldownindicator,coordinates,cps,crosshair,
|
||||
# customscoreboard,fpsdisplay,freelook,fullbright,glintcolor,hitcolor,hiteffects,keystrokes,
|
||||
# lowfire,lowshield,minimap,nohurtcam,oldanimations,reachdisplay,shieldtotem,shortswords,
|
||||
# shulkertooltips,togglesprint,waypoints,weatherchanger
|
||||
# (no commas' spaces; Old Textures is left out: its pack reloads every resource at start).
|
||||
# The player is in creative, in armor, with a shield, totems and three effects, so every HUD
|
||||
# module has something to show. Scenarios: standing at spawn, then flying east at 11 blocks a
|
||||
# second, a command block teleporting the player each tick, so the minimap draws new chunks.
|
||||
|
||||
setup
|
||||
rcon:gamerule advance_time false
|
||||
rcon:gamerule advance_weather false
|
||||
rcon:gamerule spawn_mobs false
|
||||
rcon:gamerule spawn_patrols false
|
||||
rcon:gamerule spawn_phantoms false
|
||||
rcon:gamerule spawn_wandering_traders false
|
||||
rcon:gamerule command_block_output false
|
||||
rcon:gamerule send_command_feedback false
|
||||
rcon:time set 6000
|
||||
rcon:weather clear
|
||||
rcon:gamemode creative @s
|
||||
rcon:item replace entity @s armor.head with minecraft:diamond_helmet
|
||||
rcon:item replace entity @s armor.chest with minecraft:diamond_chestplate
|
||||
rcon:item replace entity @s armor.legs with minecraft:diamond_leggings
|
||||
rcon:item replace entity @s armor.feet with minecraft:diamond_boots
|
||||
rcon:item replace entity @s weapon.mainhand with minecraft:diamond_sword
|
||||
rcon:item replace entity @s weapon.offhand with minecraft:shield
|
||||
rcon:give @s minecraft:totem_of_undying 3
|
||||
rcon:effect give @s minecraft:speed infinite 1
|
||||
rcon:effect give @s minecraft:strength infinite 0
|
||||
rcon:effect give @s minecraft:fire_resistance infinite 0
|
||||
rcon:forceload add 0 0
|
||||
sleep:10000
|
||||
|
||||
scenario still Standing at spawn with the HUD
|
||||
shot:features-still
|
||||
measure:20
|
||||
|
||||
scenario travel Flying east at 11 blocks a second over terrain the page's server generates, the minimap drawing new chunks
|
||||
rcon:tp @s 0.5 120 0.5 -90 20
|
||||
rcon:gamerule send_command_feedback true
|
||||
rconwait:execute if loaded 0 64 0 => passed
|
||||
rconwait:execute if loaded 96 64 0 => passed
|
||||
rcon:gamerule send_command_feedback false
|
||||
sleep:5000
|
||||
rcon:setblock 0 318 0 minecraft:repeating_command_block{auto:1b,Command:"execute as @a at @s run tp @s ~0.55 120 ~"}
|
||||
sleep:2000
|
||||
shot:features-travel
|
||||
measure:40
|
||||
rcon:setblock 0 318 0 minecraft:air
|
||||
@@ -0,0 +1,92 @@
|
||||
# The HUD editor's cost (ADR 0049), in the page's own world:
|
||||
# ./gradlew :app-web:benchmark -Pbenchmark.singleplayer -Pbenchmark.script=hudeditor.txt
|
||||
# -Pbenchmark.history=<a file of its own>
|
||||
# The player stands at the world's spawn with Toggle Sprint on (its line is what the editor shows).
|
||||
# Scenarios: the HUD alone; the pause menu (Potato: no blur); the HUD editor in Potato, its blurred
|
||||
# backdrop drawn ten times a second and kept (BackdropCache); the editor in Normal, blurred every
|
||||
# frame, which is what Potato would pay without the cache. The menus are reached with the keyboard
|
||||
# (Tab order in the module menu: All, Movement, GUI, Profile, Done, Edit HUD, the search, the cards),
|
||||
# and each scenario takes a screenshot in build/benchmark to show it got there.
|
||||
|
||||
setup
|
||||
rcon:gamerule advance_time false
|
||||
rcon:gamerule advance_weather false
|
||||
rcon:gamerule spawn_mobs false
|
||||
rcon:gamerule send_command_feedback false
|
||||
rcon:time set 6000
|
||||
rcon:weather clear
|
||||
sleep:10000
|
||||
# Toggle Sprint on: its card is the eighth stop.
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Enter
|
||||
sleep:500
|
||||
shot:hudeditor-setup
|
||||
key:Escape
|
||||
sleep:3000
|
||||
|
||||
scenario hud The world at spawn with the HUD, no screen open
|
||||
measure:20
|
||||
|
||||
scenario pause The pause menu over the world (Potato: no blur)
|
||||
key:Escape
|
||||
sleep:2000
|
||||
shot:hudeditor-pause
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario editor_potato The HUD editor in Potato: the blurred world drawn ten times a second and kept
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Enter
|
||||
sleep:2000
|
||||
shot:hudeditor-potato
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:1000
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario editor_normal The HUD editor in Normal: the world drawn and blurred every frame
|
||||
# The module menu's GUI entry (the third stop) switches to Normal.
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Enter
|
||||
sleep:1000
|
||||
# Opened again, so the Tabs start from the top.
|
||||
key:Escape
|
||||
sleep:1500
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Enter
|
||||
sleep:2000
|
||||
shot:hudeditor-normal
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:1000
|
||||
key:Escape
|
||||
sleep:2000
|
||||
@@ -0,0 +1,92 @@
|
||||
# The client's menus and screens (the look's first performance pass), in the page's own world:
|
||||
# ./gradlew :app-web:benchmark -Pbenchmark.singleplayer -Pbenchmark.script=menus.txt
|
||||
# -Pbenchmark.history=<a file of its own> -Pteavm.release -Pteavm.fast
|
||||
# The player stands at the world's spawn in survival with a few items. Scenarios: the HUD alone (the
|
||||
# world's own cost, for comparison), then the module menu, the pause menu and the inventory, in
|
||||
# Potato and again in Normal (glows, eased hovers, the menus' blur). The pointer rests over the
|
||||
# module menu's first card, so its hover is drawn. The menus are reached with the keyboard (Tab
|
||||
# order in the module menu: All, the five categories, GUI, Profile, Done, Edit HUD, the search, the
|
||||
# cards), and each scenario takes a screenshot in build/benchmark to show it got there.
|
||||
|
||||
setup
|
||||
rcon:gamerule advance_time false
|
||||
rcon:gamerule advance_weather false
|
||||
rcon:gamerule spawn_mobs false
|
||||
rcon:gamerule send_command_feedback false
|
||||
rcon:time set 6000
|
||||
rcon:weather clear
|
||||
rcon:gamemode survival @s
|
||||
rcon:give @s minecraft:diamond_sword
|
||||
rcon:give @s minecraft:bow
|
||||
rcon:give @s minecraft:arrow 64
|
||||
rcon:give @s minecraft:oak_planks 64
|
||||
rcon:give @s minecraft:cooked_beef 32
|
||||
rcon:give @s minecraft:iron_chestplate
|
||||
sleep:10000
|
||||
|
||||
scenario hud The world at spawn with the HUD, no screen open
|
||||
measure:20
|
||||
|
||||
scenario menu_potato The module menu in Potato, the pointer over its first card
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
move:0.36,0.3
|
||||
sleep:1000
|
||||
shot:menus-menu-potato
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario pause_potato The pause menu in Potato
|
||||
key:Escape
|
||||
sleep:2000
|
||||
shot:menus-pause-potato
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario inventory_potato The inventory in Potato: the glass panel with a well under each slot
|
||||
key:KeyE
|
||||
sleep:2000
|
||||
shot:menus-inventory-potato
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario menu_normal The module menu in Normal, the pointer over its first card
|
||||
# The module menu's GUI entry (the seventh stop) switches to Normal.
|
||||
key:ShiftRight
|
||||
sleep:1500
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Tab
|
||||
key:Enter
|
||||
sleep:1000
|
||||
move:0.5,0.5
|
||||
sleep:300
|
||||
move:0.36,0.3
|
||||
sleep:1000
|
||||
shot:menus-menu-normal
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario pause_normal The pause menu in Normal, blurred
|
||||
key:Escape
|
||||
sleep:2000
|
||||
shot:menus-pause-normal
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
|
||||
scenario inventory_normal The inventory in Normal
|
||||
key:KeyE
|
||||
sleep:2000
|
||||
shot:menus-inventory-normal
|
||||
measure:20
|
||||
key:Escape
|
||||
sleep:2000
|
||||
@@ -0,0 +1,45 @@
|
||||
version:5023
|
||||
onboardAccessibility:false
|
||||
pauseOnLostFocus:false
|
||||
joinedFirstServer:true
|
||||
skipMultiplayerWarning:true
|
||||
tutorialStep:none
|
||||
realmsNotifications:false
|
||||
graphicsPreset:"custom"
|
||||
fov:0.0
|
||||
fovEffectScale:0.0
|
||||
guiScale:2
|
||||
renderDistance:8
|
||||
simulationDistance:6
|
||||
biomeBlendRadius:2
|
||||
ao:true
|
||||
renderClouds:"true"
|
||||
cloudRange:64
|
||||
particles:0
|
||||
mipmapLevels:4
|
||||
textureFiltering:1
|
||||
maxAnisotropyBit:1
|
||||
entityShadows:true
|
||||
entityDistanceScaling:1.0
|
||||
improvedTransparency:false
|
||||
cutoutLeaves:true
|
||||
weatherRadius:10
|
||||
chunkSectionFadeInTime:0.0
|
||||
menuBackgroundBlurriness:5
|
||||
prioritizeChunkUpdates:0
|
||||
bobView:false
|
||||
gamma:0.5
|
||||
vignette:true
|
||||
screenEffectScale:1.0
|
||||
darknessEffectScale:1.0
|
||||
damageTiltStrength:0.0
|
||||
hideLightningFlashes:true
|
||||
enableVsync:false
|
||||
maxFps:260
|
||||
inactivityFpsLimit:"minimized"
|
||||
fullscreen:false
|
||||
chatVisibility:2
|
||||
showSubtitles:false
|
||||
narrator:0
|
||||
soundCategory_master:0.0
|
||||
lang:en_us
|
||||
@@ -0,0 +1,20 @@
|
||||
# The benchmark's game server (see benchmark.txt). The runner adds the address, ports and a
|
||||
# random RCON password, and starts every run with a fresh world from this seed. Command blocks
|
||||
# move the fly-through's camera, a step each tick.
|
||||
level-seed=20260928
|
||||
level-type=minecraft\:normal
|
||||
generate-structures=true
|
||||
online-mode=false
|
||||
white-list=false
|
||||
difficulty=easy
|
||||
spawn-monsters=false
|
||||
view-distance=8
|
||||
simulation-distance=6
|
||||
spawn-protection=0
|
||||
enable-command-block=true
|
||||
pause-when-empty-seconds=0
|
||||
max-tick-time=-1
|
||||
broadcast-console-to-ops=false
|
||||
broadcast-rcon-to-ops=false
|
||||
sync-chunk-writes=false
|
||||
enable-status=true
|
||||
@@ -0,0 +1,266 @@
|
||||
# The singleplayer benchmark's baseline (ADR 0039; ./gradlew :app-web:benchmark -Pbenchmark.singleplayer,
|
||||
# singleplayer.txt): as baseline.properties, for the scenarios a world the page runs itself plays.
|
||||
# Kept apart from the server benchmark's: recording one machine's figures replaces all of them.
|
||||
#
|
||||
# rule.<figure>=<higher|lower is better> <percent> <absolute>
|
||||
|
||||
# Frame rate and frame time.
|
||||
rule.fpsMedian=higher 5 1
|
||||
rule.fpsLow1=higher 15 3
|
||||
rule.frameP99Millis=lower 15 2
|
||||
# Where the frame's time goes (milliseconds a frame).
|
||||
rule.tickMillis=lower 20 0.5
|
||||
rule.extractMillis=lower 20 0.5
|
||||
rule.renderMillis=lower 20 0.5
|
||||
rule.gpuMillis=lower 20 0.5
|
||||
# Memory, in megabytes, and garbage collection pauses: the page's, then the server worker's.
|
||||
rule.heapMaxMB=lower 10 16
|
||||
rule.nativeMaxMB=lower 10 16
|
||||
rule.gcMaxPauseMillis=lower 30 4
|
||||
rule.workerHeapLiveMB=lower 10 16
|
||||
# The server worker's ticks: 20 a second when it keeps up.
|
||||
rule.serverTicksPerSecond=higher 5 1
|
||||
rule.serverTickMillis=lower 20 2
|
||||
rule.serverTickP95Millis=lower 20 5
|
||||
# Loading, in milliseconds: the world created from the title screen, Save and Quit until it's
|
||||
# stored, and opening it again from a reload (from the navigation).
|
||||
rule.coldTitleMillis=lower 20 500
|
||||
rule.createMillis=lower 20 1000
|
||||
rule.saveQuitMillis=lower 20 500
|
||||
rule.openMillis=lower 20 1000
|
||||
rule.gzipBytes=lower 2 10000
|
||||
|
||||
|
||||
|
||||
|
||||
desktop.combat.drawCalls=14.19
|
||||
desktop.combat.extractMillis=0.25
|
||||
desktop.combat.fpsLow1=54.31
|
||||
desktop.combat.fpsMean=60.00
|
||||
desktop.combat.fpsMedian=60.04
|
||||
desktop.combat.frameP99Millis=18.34
|
||||
desktop.combat.frames=1813
|
||||
desktop.combat.gcCount=9
|
||||
desktop.combat.gcMaxPauseMillis=0.73
|
||||
desktop.combat.gcTotalMillis=5.68
|
||||
desktop.combat.gpuMillis=0.39
|
||||
desktop.combat.heapLiveMB=411.81
|
||||
desktop.combat.heapMaxMB=441.17
|
||||
desktop.combat.meshQueueMax=0
|
||||
desktop.combat.meshQueueMean=0
|
||||
desktop.combat.nativeLiveMB=77.32
|
||||
desktop.combat.nativeMaxMB=100.56
|
||||
desktop.combat.poolMillis=0
|
||||
desktop.combat.renderMillis=0.55
|
||||
desktop.combat.serverChunks=2578
|
||||
desktop.combat.serverPausedTicks=0
|
||||
desktop.combat.serverTickMaxMillis=3.73
|
||||
desktop.combat.serverTickMillis=3.13
|
||||
desktop.combat.serverTickP95Millis=3.42
|
||||
desktop.combat.serverTicksPerSecond=19.97
|
||||
desktop.combat.slow1.extractMillis=0.27
|
||||
desktop.combat.slow1.frameMillis=2.42
|
||||
desktop.combat.slow1.intervalMillis=18.41
|
||||
desktop.combat.slow1.poolLateMillis=0
|
||||
desktop.combat.slow1.poolMillis=0
|
||||
desktop.combat.slow1.renderMillis=0.54
|
||||
desktop.combat.slow1.tickMillis=1.55
|
||||
desktop.combat.terrainDrawCalls=3
|
||||
desktop.combat.terrainSections=1021
|
||||
desktop.combat.tickMillis=0.45
|
||||
desktop.combat.workerHeapLiveMB=371.04
|
||||
desktop.download.gzipBytes=20397515
|
||||
desktop.flythrough.drawCalls=18.94
|
||||
desktop.flythrough.extractMillis=0.26
|
||||
desktop.flythrough.fpsLow1=43.63
|
||||
desktop.flythrough.fpsMean=59.98
|
||||
desktop.flythrough.fpsMedian=60.15
|
||||
desktop.flythrough.frameP99Millis=18.75
|
||||
desktop.flythrough.frames=3335
|
||||
desktop.flythrough.gcCount=58
|
||||
desktop.flythrough.gcMaxPauseMillis=45.37
|
||||
desktop.flythrough.gcTotalMillis=160.67
|
||||
desktop.flythrough.gpuMillis=0.38
|
||||
desktop.flythrough.heapLiveMB=383.78
|
||||
desktop.flythrough.heapMaxMB=607.93
|
||||
desktop.flythrough.meshQueueMax=56
|
||||
desktop.flythrough.meshQueueMean=2.96
|
||||
desktop.flythrough.nativeLiveMB=69.30
|
||||
desktop.flythrough.nativeMaxMB=100.56
|
||||
desktop.flythrough.poolMillis=0.69
|
||||
desktop.flythrough.renderMillis=0.60
|
||||
desktop.flythrough.serverChunks=2578
|
||||
desktop.flythrough.serverPausedTicks=0
|
||||
desktop.flythrough.serverTickMaxMillis=10.55
|
||||
desktop.flythrough.serverTickMillis=2.50
|
||||
desktop.flythrough.serverTickP95Millis=4.51
|
||||
desktop.flythrough.serverTicksPerSecond=20.01
|
||||
desktop.flythrough.slow1.extractMillis=0.78
|
||||
desktop.flythrough.slow1.frameMillis=3.26
|
||||
desktop.flythrough.slow1.intervalMillis=22.92
|
||||
desktop.flythrough.slow1.poolLateMillis=0
|
||||
desktop.flythrough.slow1.poolMillis=1.33
|
||||
desktop.flythrough.slow1.renderMillis=0.86
|
||||
desktop.flythrough.slow1.tickMillis=1.55
|
||||
desktop.flythrough.terrainDrawCalls=4.75
|
||||
desktop.flythrough.terrainSections=868.08
|
||||
desktop.flythrough.tickMillis=0.38
|
||||
desktop.flythrough.workerHeapLiveMB=298.95
|
||||
desktop.load.coldTitleMillis=3210.55
|
||||
desktop.load.createMillis=6011.25
|
||||
desktop.load.leftHeapLiveMB=375.48
|
||||
desktop.load.leftNativeLiveMB=70.16
|
||||
desktop.load.openMillis=5312.63
|
||||
desktop.load.saveQuitMillis=1034.09
|
||||
desktop.spawn.drawCalls=18.79
|
||||
desktop.spawn.extractMillis=0.22
|
||||
desktop.spawn.fpsLow1=51.82
|
||||
desktop.spawn.fpsMean=60.00
|
||||
desktop.spawn.fpsMedian=60.11
|
||||
desktop.spawn.frameP99Millis=18.67
|
||||
desktop.spawn.frames=1806
|
||||
desktop.spawn.gcCount=8
|
||||
desktop.spawn.gcMaxPauseMillis=0.77
|
||||
desktop.spawn.gcTotalMillis=5.59
|
||||
desktop.spawn.gpuMillis=0.32
|
||||
desktop.spawn.heapLiveMB=384.43
|
||||
desktop.spawn.heapMaxMB=414.11
|
||||
desktop.spawn.meshQueueMax=2
|
||||
desktop.spawn.meshQueueMean=0.00
|
||||
desktop.spawn.nativeLiveMB=69.95
|
||||
desktop.spawn.nativeMaxMB=90.44
|
||||
desktop.spawn.poolMillis=0.00
|
||||
desktop.spawn.renderMillis=0.39
|
||||
desktop.spawn.serverChunks=1849
|
||||
desktop.spawn.serverPausedTicks=0
|
||||
desktop.spawn.serverTickMaxMillis=7.44
|
||||
desktop.spawn.serverTickMillis=4.98
|
||||
desktop.spawn.serverTickP95Millis=5.73
|
||||
desktop.spawn.serverTicksPerSecond=19.97
|
||||
desktop.spawn.slow1.extractMillis=0.25
|
||||
desktop.spawn.slow1.frameMillis=3.23
|
||||
desktop.spawn.slow1.intervalMillis=19.30
|
||||
desktop.spawn.slow1.poolLateMillis=0
|
||||
desktop.spawn.slow1.poolMillis=0
|
||||
desktop.spawn.slow1.renderMillis=0.82
|
||||
desktop.spawn.slow1.tickMillis=2.09
|
||||
desktop.spawn.terrainDrawCalls=4
|
||||
desktop.spawn.terrainSections=531
|
||||
desktop.spawn.tickMillis=0.58
|
||||
desktop.spawn.workerHeapLiveMB=227.31
|
||||
|
||||
laptop-floor.combat.drawCalls=14.86
|
||||
laptop-floor.combat.extractMillis=0.91
|
||||
laptop-floor.combat.fpsLow1=33.84
|
||||
laptop-floor.combat.fpsMean=59.77
|
||||
laptop-floor.combat.fpsMedian=58.86
|
||||
laptop-floor.combat.frameP99Millis=23.03
|
||||
laptop-floor.combat.frames=1829
|
||||
laptop-floor.combat.gcCount=17
|
||||
laptop-floor.combat.gcMaxPauseMillis=2.30
|
||||
laptop-floor.combat.gcTotalMillis=20.50
|
||||
laptop-floor.combat.gpuMillis=5.01
|
||||
laptop-floor.combat.heapLiveMB=341.80
|
||||
laptop-floor.combat.heapMaxMB=382.74
|
||||
laptop-floor.combat.meshQueueMax=2
|
||||
laptop-floor.combat.meshQueueMean=0.00
|
||||
laptop-floor.combat.nativeLiveMB=69.24
|
||||
laptop-floor.combat.nativeMaxMB=88.56
|
||||
laptop-floor.combat.poolMillis=0.00
|
||||
laptop-floor.combat.renderMillis=1.92
|
||||
laptop-floor.combat.serverChunks=2578
|
||||
laptop-floor.combat.serverPausedTicks=0
|
||||
laptop-floor.combat.serverTickMaxMillis=64.22
|
||||
laptop-floor.combat.serverTickMillis=7.34
|
||||
laptop-floor.combat.serverTickP95Millis=10.54
|
||||
laptop-floor.combat.serverTicksPerSecond=20.04
|
||||
laptop-floor.combat.slow1.extractMillis=2.02
|
||||
laptop-floor.combat.slow1.frameMillis=16.56
|
||||
laptop-floor.combat.slow1.intervalMillis=29.55
|
||||
laptop-floor.combat.slow1.poolLateMillis=0
|
||||
laptop-floor.combat.slow1.poolMillis=0
|
||||
laptop-floor.combat.slow1.renderMillis=5.18
|
||||
laptop-floor.combat.slow1.tickMillis=8.92
|
||||
laptop-floor.combat.terrainDrawCalls=3
|
||||
laptop-floor.combat.terrainSections=1043
|
||||
laptop-floor.combat.tickMillis=1.40
|
||||
laptop-floor.combat.workerHeapLiveMB=366.58
|
||||
laptop-floor.download.gzipBytes=20397515
|
||||
laptop-floor.flythrough.drawCalls=13.65
|
||||
laptop-floor.flythrough.extractMillis=0.82
|
||||
laptop-floor.flythrough.fpsLow1=14.91
|
||||
laptop-floor.flythrough.fpsMean=58.34
|
||||
laptop-floor.flythrough.fpsMedian=59.92
|
||||
laptop-floor.flythrough.frameP99Millis=31
|
||||
laptop-floor.flythrough.frames=3307
|
||||
laptop-floor.flythrough.gcCount=26
|
||||
laptop-floor.flythrough.gcMaxPauseMillis=18.29
|
||||
laptop-floor.flythrough.gcTotalMillis=225.14
|
||||
laptop-floor.flythrough.gpuMillis=2.45
|
||||
laptop-floor.flythrough.heapLiveMB=304.75
|
||||
laptop-floor.flythrough.heapMaxMB=444.96
|
||||
laptop-floor.flythrough.meshQueueMax=34
|
||||
laptop-floor.flythrough.meshQueueMean=1.34
|
||||
laptop-floor.flythrough.nativeLiveMB=61.21
|
||||
laptop-floor.flythrough.nativeMaxMB=88.56
|
||||
laptop-floor.flythrough.poolMillis=0.93
|
||||
laptop-floor.flythrough.renderMillis=1.65
|
||||
laptop-floor.flythrough.serverChunks=2039
|
||||
laptop-floor.flythrough.serverPausedTicks=0
|
||||
laptop-floor.flythrough.serverTickMaxMillis=53.18
|
||||
laptop-floor.flythrough.serverTickMillis=5.05
|
||||
laptop-floor.flythrough.serverTickP95Millis=13.72
|
||||
laptop-floor.flythrough.serverTicksPerSecond=19.97
|
||||
laptop-floor.flythrough.slow1.extractMillis=4.02
|
||||
laptop-floor.flythrough.slow1.frameMillis=54.03
|
||||
laptop-floor.flythrough.slow1.intervalMillis=67.05
|
||||
laptop-floor.flythrough.slow1.poolLateMillis=4.04
|
||||
laptop-floor.flythrough.slow1.poolMillis=2.26
|
||||
laptop-floor.flythrough.slow1.renderMillis=6.51
|
||||
laptop-floor.flythrough.slow1.tickMillis=42.54
|
||||
laptop-floor.flythrough.terrainDrawCalls=2.99
|
||||
laptop-floor.flythrough.terrainSections=97.49
|
||||
laptop-floor.flythrough.tickMillis=1.85
|
||||
laptop-floor.flythrough.workerHeapLiveMB=317.97
|
||||
laptop-floor.load.coldTitleMillis=11817.60
|
||||
laptop-floor.load.createMillis=26397.91
|
||||
laptop-floor.load.leftHeapLiveMB=295.76
|
||||
laptop-floor.load.leftNativeLiveMB=68.10
|
||||
laptop-floor.load.openMillis=19986.34
|
||||
laptop-floor.load.saveQuitMillis=3757.05
|
||||
laptop-floor.spawn.drawCalls=21.33
|
||||
laptop-floor.spawn.extractMillis=1.07
|
||||
laptop-floor.spawn.fpsLow1=25.02
|
||||
laptop-floor.spawn.fpsMean=59.54
|
||||
laptop-floor.spawn.fpsMedian=60.37
|
||||
laptop-floor.spawn.frameP99Millis=27.12
|
||||
laptop-floor.spawn.frames=1837
|
||||
laptop-floor.spawn.gcCount=9
|
||||
laptop-floor.spawn.gcMaxPauseMillis=29.12
|
||||
laptop-floor.spawn.gcTotalMillis=68.98
|
||||
laptop-floor.spawn.gpuMillis=5.94
|
||||
laptop-floor.spawn.heapLiveMB=319.04
|
||||
laptop-floor.spawn.heapMaxMB=473.25
|
||||
laptop-floor.spawn.meshQueueMax=6
|
||||
laptop-floor.spawn.meshQueueMean=0.05
|
||||
laptop-floor.spawn.nativeLiveMB=68.09
|
||||
laptop-floor.spawn.nativeMaxMB=88.56
|
||||
laptop-floor.spawn.poolMillis=0.06
|
||||
laptop-floor.spawn.renderMillis=2.26
|
||||
laptop-floor.spawn.serverChunks=1849
|
||||
laptop-floor.spawn.serverPausedTicks=0
|
||||
laptop-floor.spawn.serverTickMaxMillis=93.41
|
||||
laptop-floor.spawn.serverTickMillis=14.30
|
||||
laptop-floor.spawn.serverTickP95Millis=19.97
|
||||
laptop-floor.spawn.serverTicksPerSecond=20.02
|
||||
laptop-floor.spawn.slow1.extractMillis=2.29
|
||||
laptop-floor.spawn.slow1.frameMillis=21.32
|
||||
laptop-floor.spawn.slow1.intervalMillis=39.97
|
||||
laptop-floor.spawn.slow1.poolLateMillis=0
|
||||
laptop-floor.spawn.slow1.poolMillis=0
|
||||
laptop-floor.spawn.slow1.renderMillis=7.81
|
||||
laptop-floor.spawn.slow1.tickMillis=10.84
|
||||
laptop-floor.spawn.terrainDrawCalls=4.53
|
||||
laptop-floor.spawn.terrainSections=542.32
|
||||
laptop-floor.spawn.tickMillis=1.97
|
||||
laptop-floor.spawn.workerHeapLiveMB=270.99
|
||||
@@ -0,0 +1,80 @@
|
||||
# The singleplayer benchmark (ADR 0039's server in a worker): ./gradlew :app-web:benchmark
|
||||
# -Pbenchmark.singleplayer plays these scenarios in a world the page creates itself, from
|
||||
# server.properties' seed (the server benchmark's terrain), with options.txt's options but commands
|
||||
# shown in chat. Same format as benchmark.txt, but there's no server section: nothing runs before
|
||||
# the world exists, and each rcon step is typed into the game's chat as the player (who may run
|
||||
# commands: the world allows them). rconwait reads the answer from the page's console.
|
||||
#
|
||||
# Unlike the server benchmark, nothing is generated in advance: the page's own server generates
|
||||
# terrain as the camera reaches it, on the same machine as the page, which is what a player's
|
||||
# singleplayer world does. Each scenario's figures add the server worker's ticks: ticks a second
|
||||
# (20 when it keeps up), their length, the chunks it holds, and its heap.
|
||||
|
||||
setup
|
||||
rcon:gamerule advance_time false
|
||||
rcon:gamerule advance_weather false
|
||||
rcon:gamerule spawn_mobs false
|
||||
rcon:gamerule spawn_patrols false
|
||||
rcon:gamerule spawn_phantoms false
|
||||
rcon:gamerule spawn_wandering_traders false
|
||||
rcon:gamerule command_block_output false
|
||||
rcon:gamerule send_command_feedback false
|
||||
rcon:gamerule mob_drops false
|
||||
rcon:time set 6000
|
||||
rcon:weather clear
|
||||
rcon:gamemode spectator @s
|
||||
# The fly-through's engine, as in benchmark.txt: each tick, the camera moves 0.55 blocks east.
|
||||
rcon:forceload add 0 0
|
||||
rcon:setblock 0 318 0 minecraft:repeating_command_block{auto:1b,Command:"execute as @e[tag=incari_camera] at @s run tp @s ~0.55 ~ ~"}
|
||||
sleep:10000
|
||||
|
||||
# Where the world put the player: its spawn area, generated when the world was created.
|
||||
scenario spawn At the world's spawn, where the player stands when the world opens: the server ticking the area around them, nothing new to generate
|
||||
measure:30
|
||||
|
||||
scenario flythrough A straight flight east at 11 blocks a second, over terrain the page's own server generates as the camera reaches it
|
||||
rcon:tp @s 0.5 140 0.5 -90 25
|
||||
# The flight starts over generated terrain: the server makes the start area first.
|
||||
rcon:gamerule send_command_feedback true
|
||||
rconwait:execute if loaded 0 64 0 => passed
|
||||
rconwait:execute if loaded 96 64 0 => passed
|
||||
rcon:gamerule send_command_feedback false
|
||||
sleep:5000
|
||||
rcon:kill @e[tag=incari_camera]
|
||||
rcon:summon minecraft:armor_stand 0.5 140 0.5 {Tags:["incari_camera"],Invisible:1b,Marker:1b,NoGravity:1b,Rotation:[-90f,25f]}
|
||||
rcon:spectate @e[tag=incari_camera,limit=1] @s
|
||||
sleep:3000
|
||||
measure:55
|
||||
# A teleport ends the spectating.
|
||||
rcon:tp @s 0.5 212 -2026 0 35
|
||||
rcon:kill @e[tag=incari_camera]
|
||||
|
||||
scenario combat Iron golems against waves of vindicators, pillagers and husks in an arena, the server running their AI beside the page
|
||||
rcon:tp @s 0.5 212 -2026 0 35
|
||||
# The arena's chunks are generated once the teleport reaches them: building before then fails.
|
||||
# Feedback on for the waits' answers, off again for the building.
|
||||
rcon:gamerule send_command_feedback true
|
||||
rconwait:execute if loaded -17 199 -2017 => passed
|
||||
rconwait:execute if loaded 17 204 -1983 => passed
|
||||
rcon:gamerule send_command_feedback false
|
||||
rcon:fill -17 199 -2017 17 204 -1983 minecraft:barrier outline
|
||||
rcon:fill -16 199 -2016 16 199 -1984 minecraft:smooth_stone
|
||||
rcon:summon minecraft:armor_stand 0.5 212 -2026 {Tags:["incari_watch"],Invisible:1b,Marker:1b,NoGravity:1b,Rotation:[0f,35f]}
|
||||
rcon:spectate @e[tag=incari_watch,limit=1] @s
|
||||
rcon*10:summon minecraft:iron_golem 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon:spreadplayers 0 -2000 2 14 under 203 false @e[tag=incari_fighter]
|
||||
sleep:5000
|
||||
measure:10
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
measure:10
|
||||
rcon*4:summon minecraft:vindicator 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:pillager 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
rcon*3:summon minecraft:husk 0 200 -2000 {Tags:["incari_fighter"],PersistenceRequired:1b}
|
||||
measure:10
|
||||
rcon:kill @e[tag=incari_fighter]
|
||||
rcon:kill @e[tag=incari_watch]
|
||||
Reference in New Issue
Block a user