Skip to content

Conversation

timon-schelling
Copy link
Member

@timon-schelling timon-schelling commented Oct 2, 2025

Issue:
When opening desktop app with auto saved documents menu bar would not update (export entry etc. disabled) until anything else triggered a menu bar update.

Debugging result:
After document select (triggered by document load) updated the menu another (outdated) menu bar update message arrived and put the menu bar in a outdated state.
The outdated message was send before Document load, but was handled after Document load.

Main issue was that desktop handles messages that are responses for frontend messages immediately. Therefore message execution order looked something like this on desktop:

LoadDocument    - create
MenuBarUpdate 1 - create

LoadDocument - execute
 -> Response MenuBarUpdate 2 - create
 -> MenuBarUpdate 2 - execute

MenuBarUpdate 1 - execute (outdated)

Discovered that the editor handles frontend messages differently from other messages.
It requires all frontend messages to be fully processed before dispatching any resulting messages.

In the web frontend, this behavior happened implicitly because message dispatch is queued at the current end of the JavaScript execution queue.

For the desktop frontend, I added a vector to collect all responses until the entire batch of frontend messages is handled, and then dispatch them afterwards.

Also includes:

Discovered that the editor handles frontend messages differently from other messages.
It requires all frontend messages to be fully processed before dispatching any resulting messages.

In the web frontend, this behavior happened implicitly because message dispatch is queued at the current end of the JavaScript execution queue.
For the desktop frontend, I added a vector to collect all responses until the entire batch of frontend messages is handled, and then dispatch them afterwards.
@timon-schelling timon-schelling self-assigned this Oct 2, 2025

This comment was marked as off-topic.

@timon-schelling timon-schelling enabled auto-merge (squash) October 6, 2025 19:51
@timon-schelling timon-schelling merged commit 48ac24d into master Oct 6, 2025
4 checks passed
@timon-schelling timon-schelling deleted the desktop-fix-frontend-message-response-dispatch branch October 6, 2025 20:04
Copy link

github-actions bot commented Oct 6, 2025

Performance Benchmark Results

🔧 Graph Compilation

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain)
Instructions: 27,626,621 (master) → 27,625,767 (HEAD) : $$\color{lime}-0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.02%
D1mr                     350,899|    350,972          +0.02%
D1mw                     108,915|    108,927          +0.01%
DLmr                      31,001|     31,003          +0.01%
DLmw                      49,652|     49,658          +0.01%
Dr                     6,818,055|  6,818,024          -0.00%
Dw                     4,762,323|  4,762,336          +0.00%
EstimatedCycles       43,672,641| 43,672,349          -0.00%
I1MissRate                     0|          0          +0.00%
I1mr                      45,249|     45,249          +0.00%
ILmr                         860|        860          +0.00%
Ir                    27,626,621| 27,625,767          -0.00%
L1HitRate                     99|         99          -0.00%
L1hits                38,701,936| 38,700,979          -0.00%
LLHitRate                      1|          1          +0.02%
LLMissRate                     0|          0          +0.01%
LLdMissRate                    1|          1          +0.01%
LLhits                   423,550|    423,627          +0.02%
LLiMissRate                    0|          0          +0.00%
RamHitRate                     0|          0          +0.01%
RamHits                   81,513|     81,521          +0.01%
TotalRW               39,206,999| 39,206,127          -0.00%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams)
Instructions: 13,875,703 (master) → 13,875,796 (HEAD) : $$\color{red}+0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.01%
D1mr                     168,940|    168,963          +0.01%
D1mw                      53,427|     53,438          +0.02%
DLmr                         787|        788          +0.13%
DLmw                      15,990|     15,990          +0.00%
Dr                     3,434,357|  3,434,427          +0.00%
Dw                     2,389,931|  2,389,973          +0.00%
EstimatedCycles       21,203,121| 21,203,492          +0.00%
I1MissRate                     0|          0          -0.00%
I1mr                      22,173|     22,173          +0.00%
ILmr                         722|        722          +0.00%
Ir                    13,875,703| 13,875,796          +0.00%
L1HitRate                     99|         99          -0.00%
L1hits                19,455,451| 19,455,622          +0.00%
LLHitRate                      1|          1          +0.01%
LLMissRate                     0|          0          +0.00%
LLdMissRate                    0|          0          +0.00%
LLhits                   227,041|    227,074          +0.01%
LLiMissRate                    0|          0          -0.00%
RamHitRate                     0|          0          +0.00%
RamHits                   17,499|     17,500          +0.01%
TotalRW               19,699,991| 19,700,196          +0.00%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights)
Instructions: 3,085,203 (master) → 3,085,250 (HEAD) : $$\color{red}+0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.02%
D1mr                      36,354|     36,375          +0.06%
D1mw                      10,639|     10,627          -0.11%
DLmr                          13|         13          +0.00%
DLmw                       2,921|      2,918          -0.10%
Dr                       751,519|    751,510          -0.00%
Dw                       524,568|    524,541          -0.01%
EstimatedCycles        4,677,528|  4,677,485          -0.00%
I1MissRate                     0|          0          -0.00%
I1mr                       4,804|      4,804          +0.00%
ILmr                         701|        701          +0.00%
Ir                     3,085,203|  3,085,250          +0.00%
L1HitRate                     99|         99          -0.00%
L1hits                 4,309,493|  4,309,495          +0.00%
LLHitRate                      1|          1          +0.02%
LLMissRate                     0|          0          -0.08%
LLdMissRate                    0|          0          -0.10%
LLhits                    48,162|     48,174          +0.02%
LLiMissRate                    0|          0          -0.00%
RamHitRate                     0|          0          -0.08%
RamHits                    3,635|      3,632          -0.08%
TotalRW                4,361,290|  4,361,301          +0.00%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape)
Instructions: 13,662,011 (master) → 13,662,793 (HEAD) : $$\color{red}+0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.00%
D1mr                     172,569|    172,590          +0.01%
D1mw                      49,633|     49,618          -0.03%
DLmr                          60|         61          +1.67%
DLmw                      11,157|     11,164          +0.06%
Dr                     3,336,390|  3,336,450          +0.00%
Dw                     2,346,002|  2,345,943          -0.00%
EstimatedCycles       20,667,077| 20,668,124          +0.01%
I1MissRate                     0|          0          -0.01%
I1mr                      18,084|     18,084          +0.00%
ILmr                         834|        834          +0.00%
Ir                    13,662,011| 13,662,793          +0.01%
L1HitRate                     99|         99          +0.00%
L1hits                19,104,117| 19,104,894          +0.00%
LLHitRate                      1|          1          -0.00%
LLMissRate                     0|          0          +0.06%
LLdMissRate                    0|          0          +0.07%
LLhits                   228,235|    228,233          -0.00%
LLiMissRate                    0|          0          -0.01%
RamHitRate                     0|          0          +0.06%
RamHits                   12,051|     12,059          +0.07%
TotalRW               19,344,403| 19,345,186          +0.00%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress)
Instructions: 32,129,238 (master) → 32,129,707 (HEAD) : $$\color{red}+0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          -0.01%
D1mr                     407,478|    407,515          +0.01%
D1mw                     124,526|    124,451          -0.06%
DLmr                      42,463|     42,463          +0.00%
DLmw                      48,713|     48,706          -0.01%
Dr                     7,902,637|  7,902,811          +0.00%
Dw                     5,526,393|  5,526,519          +0.00%
EstimatedCycles       50,646,206| 50,646,613          +0.00%
I1MissRate                     0|          0          -0.00%
I1mr                      49,658|     49,658          +0.00%
ILmr                         867|        867          +0.00%
Ir                    32,129,238| 32,129,707          +0.00%
L1HitRate                     99|         99          +0.00%
L1hits                44,976,606| 44,977,413          +0.00%
LLHitRate                      1|          1          -0.01%
LLMissRate                     0|          0          -0.01%
LLdMissRate                    1|          1          -0.01%
LLhits                   489,619|    489,588          -0.01%
LLiMissRate                    0|          0          -0.00%
RamHitRate                     0|          0          -0.01%
RamHits                   92,043|     92,036          -0.01%
TotalRW               45,558,268| 45,559,037          +0.00%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires)
Instructions: 21,185,003 (master) → 21,186,070 (HEAD) : $$\color{red}+0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.01%
D1mr                     262,396|    262,453          +0.02%
D1mw                      77,296|     77,271          -0.03%
DLmr                      15,081|     15,080          -0.01%
DLmw                      35,242|     35,246          +0.01%
Dr                     5,232,379|  5,232,554          +0.00%
Dw                     3,652,361|  3,652,395          +0.00%
EstimatedCycles       33,096,347| 33,097,841          +0.00%
I1MissRate                     0|          0          -0.01%
I1mr                      33,454|     33,454          +0.00%
ILmr                         811|        811          +0.00%
Ir                    21,185,003| 21,186,070          +0.01%
L1HitRate                     99|         99          -0.00%
L1hits                29,696,597| 29,697,841          +0.00%
LLHitRate                      1|          1          +0.00%
LLMissRate                     0|          0          +0.00%
LLdMissRate                    1|          1          +0.00%
LLhits                   322,012|    322,041          +0.01%
LLiMissRate                    0|          0          -0.01%
RamHitRate                     0|          0          +0.00%
RamHits                   51,134|     51,137          +0.01%
TotalRW               30,069,743| 30,071,019          +0.00%

🔄 Executor Update

update_executor_iai::update_group::update_executor with_setup_0:setup_update_executor(isometric-fountain)
Instructions: 46,789,840 (master) → 46,744,722 (HEAD) : $$\color{lime}-0.10\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.27%
D1mr                     498,374|    495,921          -0.49%
D1mw                     112,537|    113,035          +0.44%
DLmr                       3,980|      3,788          -4.82%
DLmw                      19,578|     20,009          +2.20%
Dr                    11,741,895| 11,735,209          -0.06%
Dw                     8,021,129|  8,016,937          -0.05%
EstimatedCycles       69,891,532| 69,833,614          -0.08%
I1MissRate                     0|          0          -0.54%
I1mr                      45,481|     45,193          -0.63%
ILmr                         212|        208          -1.89%
Ir                    46,789,840| 46,744,722          -0.10%
L1HitRate                     99|         99          +0.00%
L1hits                65,896,472| 65,842,719          -0.08%
LLHitRate                      1|          1          -0.31%
LLMissRate                     0|          0          +1.07%
LLdMissRate                    0|          0          +1.07%
LLhits                   632,622|    630,144          -0.39%
LLiMissRate                    0|          0          -1.79%
RamHitRate                     0|          0          +1.07%
RamHits                   23,770|     24,005          +0.99%
TotalRW               66,552,864| 66,496,868          -0.08%

update_executor_iai::update_group::update_executor with_setup_1:setup_update_executor(painted-dreams)
Instructions: 24,222,412 (master) → 24,221,167 (HEAD) : $$\color{lime}-0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.08%
D1mr                     251,292|    250,506          -0.31%
D1mw                      55,316|     55,838          +0.94%
DLmr                         992|        992          +0.00%
DLmw                       4,049|      4,207          +3.90%
Dr                     6,083,405|  6,083,133          -0.00%
Dw                     4,147,065|  4,146,576          -0.01%
EstimatedCycles       35,939,852| 35,941,366          +0.00%
I1MissRate                     0|          0          -0.09%
I1mr                      25,992|     25,966          -0.10%
ILmr                         178|        176          -1.12%
Ir                    24,222,412| 24,221,167          -0.01%
L1HitRate                     99|         99          +0.00%
L1hits                34,120,282| 34,118,566          -0.01%
LLHitRate                      1|          1          -0.13%
LLMissRate                     0|          0          +3.00%
LLdMissRate                    0|          0          +3.14%
LLhits                   327,381|    326,935          -0.14%
LLiMissRate                    0|          0          -1.12%
RamHitRate                     0|          0          +3.00%
RamHits                    5,219|      5,375          +2.99%
TotalRW               34,452,882| 34,450,876          -0.01%

update_executor_iai::update_group::update_executor with_setup_2:setup_update_executor(procedural-string-lights)
Instructions: 6,262,889 (master) → 6,279,503 (HEAD) : $$\color{red}+0.27\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +1.01%
D1mr                      64,867|     65,501          +0.98%
D1mw                      14,693|     15,026          +2.27%
DLmr                         NaN|        NaN          +0.00%
DLmw                         775|        590         -23.87%
Dr                     1,598,205|  1,601,523          +0.21%
Dw                     1,096,322|  1,098,375          +0.19%
EstimatedCycles        9,335,356|  9,355,691          +0.22%
I1MissRate                     0|          0          -0.35%
I1mr                       7,785|      7,778          -0.09%
ILmr                         177|        179          +1.13%
Ir                     6,262,889|  6,279,503          +0.27%
L1HitRate                     99|         99          -0.01%
L1hits                 8,870,071|  8,891,096          +0.24%
LLHitRate                      1|          1          +1.07%
LLMissRate                     0|          0         -19.42%
LLdMissRate                    0|          0         -24.02%
LLhits                    86,393|     87,536          +1.32%
LLiMissRate                    0|          0          +0.86%
RamHitRate                     0|          0         -19.42%
RamHits                      952|        769         -19.22%
TotalRW                8,957,416|  8,979,401          +0.25%

update_executor_iai::update_group::update_executor with_setup_3:setup_update_executor(parametric-dunescape)
Instructions: 28,027,802 (master) → 28,058,921 (HEAD) : $$\color{red}+0.11\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.29%
D1mr                     274,959|    274,846          -0.04%
D1mw                      67,595|     68,491          +1.33%
DLmr                         180|        184          +2.22%
DLmw                       4,390|      4,030          -8.20%
Dr                     7,007,629|  7,039,255          +0.45%
Dw                     4,837,017|  4,866,840          +0.62%
EstimatedCycles       41,468,250| 41,553,374          +0.21%
I1MissRate                     0|          0          +0.01%
I1mr                      20,839|     20,865          +0.12%
ILmr                         171|        171          +0.00%
Ir                    28,027,802| 28,058,921          +0.11%
L1HitRate                     99|         99          +0.00%
L1hits                39,509,055| 39,600,814          +0.23%
LLHitRate                      1|          1          +0.09%
LLMissRate                     0|          0          -7.72%
LLdMissRate                    0|          0          -8.27%
LLhits                   358,652|    359,817          +0.32%
LLiMissRate                    0|          0          -0.11%
RamHitRate                     0|          0          -7.72%
RamHits                    4,741|      4,385          -7.51%
TotalRW               39,872,448| 39,965,016          +0.23%

update_executor_iai::update_group::update_executor with_setup_4:setup_update_executor(red-dress)
Instructions: 63,894,522 (master) → 63,864,881 (HEAD) : $$\color{lime}-0.05\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.38%
D1mr                     656,055|    653,259          -0.43%
D1mw                     154,633|    153,739          -0.58%
DLmr                      16,537|     17,222          +4.14%
DLmw                      35,067|     36,280          +3.46%
Dr                    16,209,575| 16,202,217          -0.05%
Dw                    11,110,505| 11,097,432          -0.12%
EstimatedCycles       96,235,688| 96,229,058          -0.01%
I1MissRate                     0|          0          +0.67%
I1mr                      54,441|     54,779          +0.62%
ILmr                         415|        412          -0.72%
Ir                    63,894,522| 63,864,881          -0.05%
L1HitRate                     99|         99          +0.00%
L1hits                90,349,473| 90,302,753          -0.05%
LLHitRate                      1|          1          -0.59%
LLMissRate                     0|          0          +3.70%
LLdMissRate                    0|          0          +3.76%
LLhits                   813,110|    807,863          -0.65%
LLiMissRate                    0|          0          -0.68%
RamHitRate                     0|          0          +3.70%
RamHits                   52,019|     53,914          +3.64%
TotalRW               91,214,602| 91,164,530          -0.05%

update_executor_iai::update_group::update_executor with_setup_5:setup_update_executor(valley-of-spires)
Instructions: 36,089,775 (master) → 36,108,767 (HEAD) : $$\color{red}+0.05\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +0.02%
D1mr                     387,212|    387,147          -0.02%
D1mw                      86,396|     86,631          +0.27%
DLmr                       2,659|      2,654          -0.19%
DLmw                      10,983|      9,304         -15.29%
Dr                     9,136,995|  9,140,515          +0.04%
Dw                     6,247,796|  6,246,271          -0.02%
EstimatedCycles       53,933,294| 53,903,763          -0.05%
I1MissRate                     0|          0          -0.45%
I1mr                      37,394|     37,247          -0.39%
ILmr                         182|        179          -1.65%
Ir                    36,089,775| 36,108,767          +0.05%
L1HitRate                     99|         99          +0.00%
L1hits                50,963,564| 50,984,528          +0.04%
LLHitRate                      1|          1          +0.30%
LLMissRate                     0|          0         -12.24%
LLdMissRate                    0|          0         -12.36%
LLhits                   497,178|    498,888          +0.34%
LLiMissRate                    0|          0          -1.70%
RamHitRate                     0|          0         -12.24%
RamHits                   13,824|     12,137         -12.20%
TotalRW               51,474,566| 51,495,553          +0.04%

🚀 Render: Cold Execution

run_once_iai::run_once_group::run_once with_setup_0:setup_run_once(isometric-fountain)
Instructions: 22,438,435 (master) → 22,497,142 (HEAD) : $$\color{red}+0.26\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.71%
D1mr                     273,498|    274,622          +0.41%
D1mw                      60,643|     61,441          +1.32%
DLmr                       8,050|      8,032          -0.22%
DLmw                       9,302|      9,117          -1.99%
Dr                     5,842,156|  5,904,277          +1.06%
Dw                     3,951,378|  4,016,014          +1.64%
EstimatedCycles       34,777,161| 34,964,203          +0.54%
I1MissRate                     1|          1          -0.25%
I1mr                     131,637|    131,647          +0.01%
ILmr                       5,384|      5,382          -0.04%
Ir                    22,438,435| 22,497,142          +0.26%
L1HitRate                     99|         99          +0.00%
L1hits                31,766,191| 31,949,723          +0.58%
LLHitRate                      1|          1          -0.09%
LLMissRate                     0|          0          -1.47%
LLdMissRate                    0|          0          -2.43%
LLhits                   443,042|    445,179          +0.48%
LLiMissRate                    0|          0          -0.30%
RamHitRate                     0|          0          -1.47%
RamHits                   22,736|     22,531          -0.90%
TotalRW               32,231,969| 32,417,433          +0.58%

run_once_iai::run_once_group::run_once with_setup_1:setup_run_once(painted-dreams)
Instructions: 80,032,219 (master) → 79,866,038 (HEAD) : $$\color{lime}-0.21\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          +0.23%
D1mr                     413,218|    411,474          -0.42%
D1mw                     194,912|    193,720          -0.61%
DLmr                       3,729|      3,796          +1.80%
DLmw                      19,746|     18,702          -5.29%
Dr                    18,959,172| 18,843,299          -0.61%
Dw                    12,674,214| 12,563,572          -0.87%
EstimatedCycles      115,771,385|115,336,839          -0.38%
I1MissRate                     0|          0          +0.09%
I1mr                     185,500|    185,286          -0.12%
ILmr                       7,567|      7,569          +0.03%
Ir                    80,032,219| 79,866,038          -0.21%
L1HitRate                     99|         99          +0.00%
L1hits               110,871,975|110,482,429          -0.35%
LLHitRate                      1|          1          +0.07%
LLMissRate                     0|          0          -2.80%
LLdMissRate                    0|          0          -3.47%
LLhits                   762,588|    760,413          -0.29%
LLiMissRate                    0|          0          +0.23%
RamHitRate                     0|          0          -2.80%
RamHits                   31,042|     30,067          -3.14%
TotalRW              111,665,605|111,272,909          -0.35%

run_once_iai::run_once_group::run_once with_setup_2:setup_run_once(procedural-string-lights)
Instructions: 10,529,224 (master) → 10,478,314 (HEAD) : $$\color{lime}-0.48\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          -3.12%
D1mr                      61,598|     59,013          -4.20%
D1mw                      23,608|     23,125          -2.05%
DLmr                         414|        424          +2.42%
DLmw                       1,233|      1,144          -7.22%
Dr                     2,607,625|  2,593,455          -0.54%
Dw                     1,882,530|  1,874,500          -0.43%
EstimatedCycles       15,733,563| 15,645,875          -0.56%
I1MissRate                     0|          0          +0.52%
I1mr                      47,440|     47,456          +0.03%
ILmr                       4,473|      4,473          +0.00%
Ir                    10,529,224| 10,478,314          -0.48%
L1HitRate                     99|         99          +0.02%
L1hits                14,886,733| 14,816,675          -0.47%
LLHitRate                      1|          1          -1.87%
LLMissRate                     0|          0          -0.81%
LLdMissRate                    0|          0          -4.32%
LLhits                   126,526|    123,553          -2.35%
LLiMissRate                    0|          0          +0.49%
RamHitRate                     0|          0          -0.81%
RamHits                    6,120|      6,041          -1.29%
TotalRW               15,019,379| 14,946,269          -0.49%

run_once_iai::run_once_group::run_once with_setup_3:setup_run_once(parametric-dunescape)
Instructions: 23,698,960 (master) → 23,586,709 (HEAD) : $$\color{lime}-0.47\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          +0.51%
D1mr                     161,780|    158,807          -1.84%
D1mw                      64,520|     62,082          -3.78%
DLmr                       2,259|      2,241          -0.80%
DLmw                       6,068|      5,457         -10.07%
Dr                     5,715,855|  5,579,151          -2.39%
Dw                     3,825,078|  3,686,532          -3.62%
EstimatedCycles       34,785,511| 34,357,186          -1.23%
I1MissRate                     0|          0          +0.35%
I1mr                      69,722|     69,637          -0.12%
ILmr                       3,724|      3,725          +0.03%
Ir                    23,698,960| 23,586,709          -0.47%
L1HitRate                     99|         99          +0.01%
L1hits                32,943,871| 32,561,866          -1.16%
LLHitRate                      1|          1          -0.55%
LLMissRate                     0|          0          -4.09%
LLdMissRate                    0|          0          -4.81%
LLhits                   283,971|    279,103          -1.71%
LLiMissRate                    0|          0          +0.50%
RamHitRate                     0|          0          -4.09%
RamHits                   12,051|     11,423          -5.21%
TotalRW               33,239,893| 32,852,392          -1.17%

run_once_iai::run_once_group::run_once with_setup_4:setup_run_once(red-dress)
Instructions: 1,803,420,887 (master) → 1,803,347,392 (HEAD) : $$\color{lime}-0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     0|          0          +0.27%
D1mr                   1,818,986|  1,824,014          +0.28%
D1mw                     846,638|    848,317          +0.20%
DLmr                     435,372|    431,767          -0.83%
DLmw                     505,014|    504,658          -0.07%
Dr                   431,309,425|431,259,631          -0.01%
Dw                   277,956,311|277,908,043          -0.02%
EstimatedCycles      2,556,691,437|2,556,427,962          -0.01%
I1MissRate                     0|          0          +0.02%
I1mr                   1,242,372|  1,242,558          +0.01%
ILmr                       5,375|      5,353          -0.41%
Ir                   1,803,420,887|1,803,347,392          -0.00%
L1HitRate                    100|        100          -0.00%
L1hits               2,508,778,627|2,508,600,177          -0.01%
LLHitRate                      0|          0          +0.37%
LLMissRate                     0|          0          -0.41%
LLdMissRate                    0|          0          -0.41%
LLhits                 2,962,235|  2,973,111          +0.37%
LLiMissRate                    0|          0          -0.41%
RamHitRate                     0|          0          -0.41%
RamHits                  945,761|    941,778          -0.42%
TotalRW              2,512,686,623|2,512,515,066          -0.01%

run_once_iai::run_once_group::run_once with_setup_5:setup_run_once(valley-of-spires)
Instructions: 20,560,264 (master) → 20,481,646 (HEAD) : $$\color{lime}-0.38\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.03%
D1mr                     222,082|    218,989          -1.39%
D1mw                      54,772|     52,540          -4.08%
DLmr                       5,651|      5,660          +0.16%
DLmw                       6,576|      6,097          -7.28%
Dr                     5,217,584|  5,135,004          -1.58%
Dw                     3,536,177|  3,453,078          -2.35%
EstimatedCycles       31,322,279| 31,043,144          -0.89%
I1MissRate                     1|          1          +0.52%
I1mr                     106,882|    107,030          +0.14%
ILmr                       3,550|      3,549          -0.03%
Ir                    20,560,264| 20,481,646          -0.38%
L1HitRate                     99|         99          +0.01%
L1hits                28,930,289| 28,691,169          -0.83%
LLHitRate                      1|          1          -0.45%
LLMissRate                     0|          0          -2.17%
LLdMissRate                    0|          0          -1.99%
LLhits                   367,959|    363,253          -1.28%
LLiMissRate                    0|          0          +0.36%
RamHitRate                     0|          0          -2.17%
RamHits                   15,777|     15,306          -2.99%
TotalRW               29,314,025| 29,069,728          -0.83%

⚡ Render: Cached Execution

run_cached_iai::run_cached_group::run_cached with_setup_0:setup_run_cached(isometric-fountain)
Instructions: 7,873,660 (master) → 7,890,220 (HEAD) : $$\color{red}+0.21\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -0.06%
D1mr                     193,456|    194,822          +0.71%
D1mw                       7,481|      7,622          +1.88%
DLmr                       1,014|        664         -34.52%
DLmw                         251|        264          +5.18%
Dr                     2,385,747|  2,401,236          +0.65%
Dw                     1,411,327|  1,426,678          +1.09%
EstimatedCycles       12,520,224| 12,563,494          +0.35%
I1MissRate                     0|          0          -1.88%
I1mr                         718|        706          -1.67%
ILmr                         164|        164          +0.00%
Ir                     7,873,660|  7,890,220          +0.21%
L1HitRate                     98|         98          -0.01%
L1hits                11,469,079| 11,514,984          +0.40%
LLHitRate                      2|          2          +0.51%
LLMissRate                     0|          0         -23.89%
LLdMissRate                    0|          0         -27.23%
LLhits                   200,226|    202,058          +0.91%
LLiMissRate                    0|          0          -0.21%
RamHitRate                     0|          0         -23.89%
RamHits                    1,429|      1,092         -23.58%
TotalRW               11,670,734| 11,718,134          +0.41%

run_cached_iai::run_cached_group::run_cached with_setup_1:setup_run_cached(painted-dreams)
Instructions: 5,909,596 (master) → 5,908,972 (HEAD) : $$\color{lime}-0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          +1.03%
D1mr                     126,313|    127,696          +1.09%
D1mw                       7,075|      7,040          -0.49%
DLmr                         123|        140         +13.82%
DLmw                           7|          5         -28.57%
Dr                     1,835,457|  1,835,190          -0.01%
Dw                     1,098,655|  1,098,470          -0.02%
EstimatedCycles        9,388,762|  9,393,552          +0.05%
I1MissRate                     0|          0          +0.84%
I1mr                         723|        729          +0.83%
ILmr                         157|        157          +0.00%
Ir                     5,909,596|  5,908,972          -0.01%
L1HitRate                     98|         98          -0.02%
L1hits                 8,709,597|  8,707,167          -0.03%
LLHitRate                      2|          2          +1.01%
LLMissRate                     0|          0          +5.24%
LLdMissRate                    0|          0         +11.56%
LLhits                   133,824|    135,163          +1.00%
LLiMissRate                    0|          0          +0.01%
RamHitRate                     0|          0          +5.24%
RamHits                      287|        302          +5.23%
TotalRW                8,843,708|  8,842,632          -0.01%

run_cached_iai::run_cached_group::run_cached with_setup_2:setup_run_cached(procedural-string-lights)
Instructions: 1,525,705 (master) → 1,203,346 (HEAD) : $$\color{lime}-21.13\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          3         -17.55%
D1mr                      27,329|     17,816         -34.81%
D1mw                       3,625|      3,563          -1.71%
DLmr                           4|          4          +0.00%
DLmw                         NaN|        NaN          +0.00%
Dr                       529,673|    442,601         -16.44%
Dw                       346,537|    291,403         -15.91%
EstimatedCycles        2,533,089|  2,030,244         -19.85%
I1MissRate                     0|          0         +27.67%
I1mr                         722|        727          +0.69%
ILmr                         145|        145          +0.00%
Ir                     1,525,705|  1,203,346         -21.13%
L1HitRate                     99|         99          +0.18%
L1hits                 2,370,239|  1,915,244         -19.20%
LLHitRate                      1|          1         -13.65%
LLMissRate                     0|          0         +23.98%
LLdMissRate                    0|          0         +19.37%
LLhits                    31,527|     21,957         -30.35%
LLiMissRate                    0|          0         +26.79%
RamHitRate                     0|          0         +23.98%
RamHits                      149|        149          +0.00%
TotalRW                2,401,915|  1,937,350         -19.34%

run_cached_iai::run_cached_group::run_cached with_setup_3:setup_run_cached(parametric-dunescape)
Instructions: 3,745,101 (master) → 3,746,320 (HEAD) : $$\color{red}+0.03\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -0.48%
D1mr                      93,516|     93,237          -0.30%
D1mw                       7,780|      7,641          -1.79%
DLmr                          39|         41          +5.13%
DLmw                          42|         83         +97.62%
Dr                     1,274,377|  1,275,058          +0.05%
Dw                       837,660|    838,365          +0.08%
EstimatedCycles        6,271,704|  6,273,817          +0.03%
I1MissRate                     0|          0          -0.74%
I1mr                         703|        698          -0.71%
ILmr                         138|        135          -2.17%
Ir                     3,745,101|  3,746,320          +0.03%
L1HitRate                     98|         98          +0.01%
L1hits                 5,755,139|  5,758,167          +0.05%
LLHitRate                      2|          2          -0.50%
LLMissRate                     0|          0         +18.21%
LLdMissRate                    0|          0         +52.99%
LLhits                   101,780|    101,317          -0.45%
LLiMissRate                    0|          0          -2.21%
RamHitRate                     0|          0         +18.21%
RamHits                      219|        259         +18.26%
TotalRW                5,857,138|  5,859,743          +0.04%

run_cached_iai::run_cached_group::run_cached with_setup_4:setup_run_cached(red-dress)
Instructions: 35,010,965 (master) → 35,007,470 (HEAD) : $$\color{lime}-0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -0.29%
D1mr                     660,032|    657,840          -0.33%
D1mw                      99,005|     98,933          -0.07%
DLmr                     295,280|    296,672          +0.47%
DLmw                      52,674|     55,950          +6.22%
Dr                     9,942,255|  9,941,498          -0.01%
Dw                     5,361,644|  5,360,828          -0.02%
EstimatedCycles       63,814,866| 63,940,898          +0.20%
I1MissRate                     0|          0          -0.12%
I1mr                         766|        765          -0.13%
ILmr                         739|        743          +0.54%
Ir                    35,010,965| 35,007,470          -0.01%
L1HitRate                     98|         98          +0.00%
L1hits                49,555,061| 49,552,258          -0.01%
LLHitRate                      1|          1          -1.68%
LLMissRate                     1|          1          +1.35%
LLdMissRate                    2|          2          +1.35%
LLhits                   411,110|    404,173          -1.69%
LLiMissRate                    0|          0          +0.55%
RamHitRate                     1|          1          +1.35%
RamHits                  348,693|    353,365          +1.34%
TotalRW               50,314,864| 50,309,796          -0.01%

run_cached_iai::run_cached_group::run_cached with_setup_5:setup_run_cached(valley-of-spires)
Instructions: 6,263,573 (master) → 6,322,018 (HEAD) : $$\color{red}+0.93\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -2.57%
D1mr                     152,654|    153,770          +0.73%
D1mw                       6,524|      7,527         +15.37%
DLmr                         184|        202          +9.78%
DLmw                         133|        176         +32.33%
Dr                     1,876,432|  1,936,166          +3.18%
Dw                     1,100,394|  1,159,815          +5.40%
EstimatedCycles        9,894,263| 10,082,129          +1.90%
I1MissRate                     0|          0          -2.30%
I1mr                         718|        708          -1.39%
ILmr                         159|        159          +0.00%
Ir                     6,263,573|  6,322,018          +0.93%
L1HitRate                     98|         98          +0.01%
L1hits                 9,080,503|  9,255,994          +1.93%
LLHitRate                      2|          2          -0.63%
LLMissRate                     0|          0         +10.69%
LLdMissRate                    0|          0         +14.65%
LLhits                   159,420|    161,468          +1.28%
LLiMissRate                    0|          0          -0.92%
RamHitRate                     0|          0         +10.69%
RamHits                      476|        537         +12.82%
TotalRW                9,240,399|  9,417,999          +1.92%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants