feat: add option to emit response event on each callback & `RunScrip… #1033
GitHub Actions / Bencher Report
succeeded
Apr 1, 2025 in 0s
Bencher Report
Branch | main |
Testbed | windows-gha |
Click to view all benchmark results
Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
---|---|---|---|
component/access Lua | 📈 view plot 🚷 view threshold | 4,681.00 ns(-15.95%)Baseline: 5,569.57 ns | 6,928.95 ns (67.56%) |
component/access Rhai | 📈 view plot 🚷 view threshold | 7,366.10 ns(-6.92%)Baseline: 7,914.00 ns | 8,945.75 ns (82.34%) |
component/get Lua | 📈 view plot 🚷 view threshold | 2,791.40 ns(-14.13%)Baseline: 3,250.90 ns | 3,768.74 ns (74.07%) |
component/get Rhai | 📈 view plot 🚷 view threshold | 5,411.40 ns(-2.50%)Baseline: 5,550.43 ns | 6,415.43 ns (84.35%) |
conversions/Mut::from | 📈 view plot 🚷 view threshold | 97.97 ns(-45.47%)Baseline: 179.67 ns | 349.27 ns (28.05%) |
conversions/Ref::from | 📈 view plot 🚷 view threshold | 93.13 ns(-46.89%)Baseline: 175.35 ns | 341.19 ns (27.30%) |
conversions/ScriptValue::List | 📈 view plot 🚷 view threshold | 427.59 ns(-36.14%)Baseline: 669.56 ns | 1,072.95 ns (39.85%) |
conversions/ScriptValue::Map | 📈 view plot 🚷 view threshold | 1,505.40 ns(-16.67%)Baseline: 1,806.53 ns | 2,357.37 ns (63.86%) |
conversions/ScriptValue::Reference::from_into | 📈 view plot 🚷 view threshold | 26.96 ns(-50.44%)Baseline: 54.41 ns | 111.01 ns (24.29%) |
conversions/Val::from_into | 📈 view plot 🚷 view threshold | 376.62 ns(+6.02%)Baseline: 355.25 ns | 429.71 ns (87.65%) |
function/call 4 args Lua | 📈 view plot 🚷 view threshold | 2,310.90 ns(-11.98%)Baseline: 2,625.37 ns | 3,006.89 ns (76.85%) |
function/call 4 args Rhai | 📈 view plot 🚷 view threshold | 2,048.20 ns(-10.71%)Baseline: 2,293.82 ns | 2,652.76 ns (77.21%) |
function/call Lua | 📈 view plot 🚷 view threshold | 263.41 ns(-8.67%)Baseline: 288.42 ns | 338.16 ns (77.90%) |
function/call Rhai | 📈 view plot 🚷 view threshold | 522.82 ns(-3.60%)Baseline: 542.34 ns | 612.96 ns (85.29%) |
math/vec mat ops Lua | 📈 view plot 🚷 view threshold | 10,112.00 ns(+5.22%)Baseline: 9,610.39 ns | 11,513.03 ns (87.83%) |
math/vec mat ops Rhai | 📈 view plot 🚷 view threshold | 8,620.40 ns(-5.56%)Baseline: 9,127.74 ns | 10,483.01 ns (82.23%) |
query/10 entities Lua | 📈 view plot 🚷 view threshold | 26,085.00 ns(-2.57%)Baseline: 26,773.19 ns | 29,286.48 ns (89.07%) |
query/10 entities Rhai | 📈 view plot 🚷 view threshold | 29,836.00 ns(-1.74%)Baseline: 30,362.86 ns | 33,587.75 ns (88.83%) |
query/100 entities Lua | 📈 view plot 🚷 view threshold | 59,431.00 ns(+7.00%)Baseline: 55,542.48 ns | 62,229.52 ns (95.50%) |
query/100 entities Rhai | 📈 view plot 🚷 view threshold | 52,905.00 ns(-1.95%)Baseline: 53,957.48 ns | 61,498.33 ns (86.03%) |
query/1000 entities Lua | 📈 view plot 🚷 view threshold | 358,170.00 ns(-4.24%)Baseline: 374,023.33 ns | 440,678.77 ns (81.28%) |
query/1000 entities Rhai | 📈 view plot 🚷 view threshold | 340,000.00 ns(-0.57%)Baseline: 341,935.71 ns | 413,203.68 ns (82.28%) |
reflection/10 Lua | 📈 view plot 🚷 view threshold | 8,551.30 ns(+0.28%)Baseline: 8,527.06 ns | 9,509.50 ns (89.92%) |
reflection/10 Rhai | 📈 view plot 🚷 view threshold | 21,129.00 ns(-2.85%)Baseline: 21,748.48 ns | 22,825.24 ns (92.57%) |
reflection/100 Lua | 📈 view plot 🚷 view threshold | 69,063.00 ns(-1.04%)Baseline: 69,787.48 ns | 75,725.10 ns (91.20%) |
reflection/100 Rhai | 📈 view plot 🚷 view threshold | 943,450.00 ns(+1.35%)Baseline: 930,857.62 ns | 957,977.95 ns (98.48%) |
resource/access Lua | 📈 view plot 🚷 view threshold | 4,212.10 ns(-15.96%)Baseline: 5,011.83 ns | 6,336.15 ns (66.48%) |
resource/access Rhai | 📈 view plot 🚷 view threshold | 6,483.10 ns(-8.14%)Baseline: 7,057.84 ns | 8,307.51 ns (78.04%) |
resource/get Lua | 📈 view plot 🚷 view threshold | 2,383.40 ns(-14.23%)Baseline: 2,778.68 ns | 3,197.88 ns (74.53%) |
resource/get Rhai | 📈 view plot 🚷 view threshold | 4,554.40 ns(-4.66%)Baseline: 4,776.80 ns | 5,571.68 ns (81.74%) |
Loading