Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

TrueDoctor
Copy link
Member

Improves performance for panning etc.

node-graph/gcore/src/vector/click_target.rs Outdated Show resolved Hide resolved
std::mem::drop(read);
let mut write = self.bounding_box_cache.write().unwrap();
if write.len() >= 10 {
write.clear();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to clear the cache completely here?

Did you do performance tests on the number of max cache entries, could be interesting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using a flush when full replacement strategy which gives the same theoretical guarantees as something like an lru but is significantly easier to implement. If we wanted to improve performance, we could try to remove any scaling factors since they don't affect the outcome and to use fingerprinting to improve the search speed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, implemented the optimizations

Copy link

Performance Benchmark Results

🔧 Graph Compilation

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain)
Instructions: 27,583,817 (master) → 27,628,018 (HEAD) : $$\color{red}+0.16\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          -0.06%
D1mr                     351,420|    351,157          -0.07%
D1mw                     108,470|    108,830          +0.33%
DLmr                      31,335|     30,988          -1.11%
DLmw                      58,216|     49,649         -14.72%
Dr                     6,811,559|  6,818,306          +0.10%
Dw                     4,759,147|  4,762,363          +0.07%
EstimatedCycles       43,884,319| 43,722,117          -0.37%
I1MissRate                     0|          0         +28.19%
I1mr                      44,469|     57,098         +28.40%
ILmr                         861|        866          +0.58%
Ir                    27,583,817| 27,628,018          +0.16%
L1HitRate                     99|         99          -0.03%
L1hits                38,650,164| 38,691,602          +0.11%
LLHitRate                      1|          1          +5.08%
LLMissRate                     0|          0          -9.98%
LLdMissRate                    1|          1         -10.03%
LLhits                   413,947|    435,582          +5.23%
LLiMissRate                    0|          0          +0.42%
RamHitRate                     0|          0          -9.98%
RamHits                   90,412|     81,503          -9.85%
TotalRW               39,154,523| 39,208,687          +0.14%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams)
Instructions: 13,878,820 (master) → 13,878,568 (HEAD) : $$\color{lime}-0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          -0.60%
D1mr                     169,950|    168,693          -0.74%
D1mw                      53,445|     53,339          -0.20%
DLmr                         577|        799         +38.47%
DLmw                      12,949|     15,985         +23.45%
Dr                     3,434,869|  3,434,825          -0.00%
Dw                     2,390,216|  2,389,954          -0.01%
EstimatedCycles       21,112,425| 21,230,887          +0.56%
I1MissRate                     0|          0         +29.93%
I1mr                      21,980|     28,558         +29.93%
ILmr                         708|        722          +1.98%
Ir                    13,878,820| 13,878,568          -0.00%
L1HitRate                     99|         99          -0.03%
L1hits                19,458,530| 19,452,757          -0.03%
LLHitRate                      1|          1          +0.84%
LLMissRate                     0|          0         +22.99%
LLdMissRate                    0|          0         +24.09%
LLhits                   231,141|    233,084          +0.84%
LLiMissRate                    0|          0          +1.98%
RamHitRate                     0|          0         +22.99%
RamHits                   14,234|     17,506         +22.99%
TotalRW               19,703,905| 19,703,347          -0.00%

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

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          -0.10%
D1mr                      36,411|     36,368          -0.12%
D1mw                      10,641|     10,642          +0.01%
DLmr                          15|         16          +6.67%
DLmw                       2,917|      2,918          +0.03%
Dr                       751,534|    751,613          +0.01%
Dw                       524,573|    524,595          +0.00%
EstimatedCycles        4,677,140|  4,682,105          +0.11%
I1MissRate                     0|          0         +22.96%
I1mr                       4,713|      5,796         +22.98%
ILmr                         691|        699          +1.16%
Ir                     3,085,283|  3,085,683          +0.01%
L1HitRate                     99|         99          -0.02%
L1hits                 4,309,625|  4,309,085          -0.01%
LLHitRate                      1|          1          +2.13%
LLMissRate                     0|          0          +0.26%
LLdMissRate                    0|          0          +0.06%
LLhits                    48,142|     49,173          +2.14%
LLiMissRate                    0|          0          +1.14%
RamHitRate                     0|          0          +0.26%
RamHits                    3,623|      3,633          +0.28%
TotalRW                4,361,390|  4,361,891          +0.01%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape)
Instructions: 13,673,779 (master) → 13,664,384 (HEAD) : $$\color{lime}-0.07\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.04%
D1mr                     172,642|    172,566          -0.04%
D1mw                      49,499|     49,545          +0.09%
DLmr                          57|         58          +1.75%
DLmw                      12,547|     11,148         -11.15%
Dr                     3,338,020|  3,336,670          -0.04%
Dw                     2,347,532|  2,345,946          -0.07%
EstimatedCycles       20,725,229| 20,685,552          -0.19%
I1MissRate                     0|          0         +19.19%
I1mr                      18,661|     22,227         +19.11%
ILmr                         819|        834          +1.83%
Ir                    13,673,779| 13,664,384          -0.07%
L1HitRate                     99|         99          -0.02%
L1hits                19,118,529| 19,102,662          -0.08%
LLHitRate                      1|          1          +2.23%
LLMissRate                     0|          0         -10.25%
LLdMissRate                    0|          0         -11.05%
LLhits                   227,379|    232,298          +2.16%
LLiMissRate                    0|          0          +1.90%
RamHitRate                     0|          0         -10.25%
RamHits                   13,423|     12,040         -10.30%
TotalRW               19,359,331| 19,347,000          -0.06%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress)
Instructions: 32,178,935 (master) → 32,130,768 (HEAD) : $$\color{lime}-0.15\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          +0.58%
D1mr                     405,577|    407,627          +0.51%
D1mw                     123,864|    124,429          +0.46%
DLmr                      42,349|     42,463          +0.27%
DLmw                      57,688|     48,712         -15.56%
Dr                     7,909,919|  7,902,848          -0.09%
Dw                     5,530,213|  5,526,421          -0.07%
EstimatedCycles       50,959,277| 50,703,929          -0.50%
I1MissRate                     0|          0         +30.38%
I1mr                      48,854|     63,602         +30.19%
ILmr                         864|        867          +0.35%
Ir                    32,178,935| 32,130,768          -0.15%
L1HitRate                     99|         99          -0.04%
L1hits                45,040,772| 44,964,379          -0.17%
LLHitRate                      1|          1          +5.63%
LLMissRate                     0|          0          -8.66%
LLdMissRate                    1|          1          -8.78%
LLhits                   477,394|    503,616          +5.49%
LLiMissRate                    0|          0          +0.50%
RamHitRate                     0|          0          -8.66%
RamHits                  100,901|     92,042          -8.78%
TotalRW               45,619,067| 45,560,037          -0.13%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires)
Instructions: 21,188,313 (master) → 21,186,165 (HEAD) : $$\color{lime}-0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     4|          4          -0.27%
D1mr                     262,951|    262,452          -0.19%
D1mw                      77,673|     77,255          -0.54%
DLmr                      15,080|     15,099          +0.13%
DLmw                      33,513|     35,258          +5.21%
Dr                     5,232,231|  5,232,497          +0.01%
Dw                     3,652,198|  3,652,347          +0.00%
EstimatedCycles       33,047,938| 33,135,847          +0.27%
I1MissRate                     0|          0         +30.53%
I1mr                      32,720|     42,705         +30.52%
ILmr                         801|        816          +1.87%
Ir                    21,188,313| 21,186,165          -0.01%
L1HitRate                     99|         99          -0.03%
L1hits                29,699,398| 29,688,597          -0.04%
LLHitRate                      1|          1          +2.26%
LLMissRate                     0|          0          +3.61%
LLdMissRate                    1|          1          +3.63%
LLhits                   323,950|    331,239          +2.25%
LLiMissRate                    0|          0          +1.88%
RamHitRate                     0|          0          +3.61%
RamHits                   49,394|     51,173          +3.60%
TotalRW               30,072,742| 30,071,009          -0.01%

🔄 Executor Update

update_executor_iai::update_group::update_executor with_setup_0:setup_update_executor(isometric-fountain)
Instructions: 46,739,392 (master) → 46,628,080 (HEAD) : $$\color{lime}-0.24\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +1.77%
D1mr                     492,973|    496,752          +0.77%
D1mw                     113,003|    111,987          -0.90%
DLmr                       3,424|      3,474          +1.46%
DLmw                      18,594|     16,160         -13.09%
Dr                    11,733,354| 11,606,379          -1.08%
Dw                     8,019,096|  7,890,215          -1.61%
EstimatedCycles       69,699,216| 69,221,700          -0.69%
I1MissRate                     0|          0         -42.71%
I1mr                      29,315|     16,755         -42.84%
ILmr                         189|        201          +6.35%
Ir                    46,739,392| 46,628,080          -0.24%
L1HitRate                     99|         99          +0.01%
L1hits                65,856,551| 65,499,180          -0.54%
LLHitRate                      1|          1          -0.66%
LLMissRate                     0|          0         -10.19%
LLdMissRate                    0|          0          -9.66%
LLhits                   613,084|    605,659          -1.21%
LLiMissRate                    0|          0          +6.60%
RamHitRate                     0|          0         -10.19%
RamHits                   22,207|     19,835         -10.68%
TotalRW               66,491,842| 66,124,674          -0.55%

update_executor_iai::update_group::update_executor with_setup_1:setup_update_executor(painted-dreams)
Instructions: 24,209,111 (master) → 24,212,183 (HEAD) : $$\color{red}+0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +1.18%
D1mr                     248,513|    251,607          +1.25%
D1mw                      55,910|     56,360          +0.80%
DLmr                         988|        984          -0.40%
DLmw                       3,784|      4,032          +6.55%
Dr                     6,079,242|  6,080,084          +0.01%
Dw                     4,141,633|  4,139,422          -0.05%
EstimatedCycles       35,864,054| 35,855,351          -0.02%
I1MissRate                     0|          0         -46.93%
I1mr                      17,014|      9,031         -46.92%
ILmr                         172|        173          +0.58%
Ir                    24,209,111| 24,212,183          +0.01%
L1HitRate                     99|         99          +0.01%
L1hits                34,108,549| 34,114,691          +0.02%
LLHitRate                      1|          1          -1.48%
LLMissRate                     0|          0          +4.95%
LLdMissRate                    0|          0          +5.13%
LLhits                   316,493|    311,809          -1.48%
LLiMissRate                    0|          0          +0.57%
RamHitRate                     0|          0          +4.95%
RamHits                    4,944|      5,189          +4.96%
TotalRW               34,429,986| 34,431,689          +0.00%

update_executor_iai::update_group::update_executor with_setup_2:setup_update_executor(procedural-string-lights)
Instructions: 6,041,483 (master) → 6,259,623 (HEAD) : $$\color{red}+3.61\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +6.43%
D1mr                      58,910|     66,133         +12.26%
D1mw                      14,670|     15,075          +2.76%
DLmr                         NaN|        NaN          +0.00%
DLmw                         573|        454         -20.77%
Dr                     1,538,486|  1,596,977          +3.80%
Dw                     1,058,010|  1,095,524          +3.55%
EstimatedCycles        8,976,185|  9,310,188          +3.72%
I1MissRate                     0|          0         -35.05%
I1mr                       5,369|      3,613         -32.71%
ILmr                         174|        172          -1.15%
Ir                     6,041,483|  6,259,623          +3.61%
L1HitRate                     99|         99          -0.03%
L1hits                 8,559,030|  8,867,303          +3.60%
LLHitRate                      1|          1          +3.89%
LLMissRate                     0|          0         -19.14%
LLdMissRate                    0|          0         -23.59%
LLhits                    78,202|     84,195          +7.66%
LLiMissRate                    0|          0          -4.59%
RamHitRate                     0|          0         -19.14%
RamHits                      747|        626         -16.20%
TotalRW                8,637,979|  8,952,124          +3.64%

update_executor_iai::update_group::update_executor with_setup_3:setup_update_executor(parametric-dunescape)
Instructions: 28,057,860 (master) → 28,062,158 (HEAD) : $$\color{red}+0.02\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +0.64%
D1mr                     276,016|    277,775          +0.64%
D1mw                      68,854|     69,333          +0.70%
DLmr                         188|        182          -3.19%
DLmw                       4,235|      4,149          -2.03%
Dr                     7,039,886|  7,039,935          +0.00%
Dw                     4,868,332|  4,869,489          +0.02%
EstimatedCycles       41,542,318| 41,528,658          -0.03%
I1MissRate                     0|          0         -42.99%
I1mr                      14,750|      8,411         -42.98%
ILmr                         169|        169          +0.00%
Ir                    28,057,860| 28,062,158          +0.02%
L1HitRate                     99|         99          +0.01%
L1hits                39,606,458| 39,616,063          +0.02%
LLHitRate                      1|          1          -1.14%
LLMissRate                     0|          0          -2.02%
LLdMissRate                    0|          0          -2.09%
LLhits                   355,028|    351,019          -1.13%
LLiMissRate                    0|          0          -0.02%
RamHitRate                     0|          0          -2.02%
RamHits                    4,592|      4,500          -2.00%
TotalRW               39,966,078| 39,971,582          +0.01%

update_executor_iai::update_group::update_executor with_setup_4:setup_update_executor(red-dress)
Instructions: 64,001,364 (master) → 64,036,801 (HEAD) : $$\color{red}+0.06\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          +0.97%
D1mr                     659,459|    666,330          +1.04%
D1mw                     157,203|    158,812          +1.02%
DLmr                      16,361|     16,912          +3.37%
DLmw                      35,752|     34,067          -4.71%
Dr                    16,335,117| 16,344,438          +0.06%
Dw                    11,234,948| 11,245,577          +0.09%
EstimatedCycles       96,556,263| 96,542,602          -0.01%
I1MissRate                     0|          0         -47.80%
I1mr                      35,609|     18,597         -47.77%
ILmr                         412|        382          -7.28%
Ir                    64,001,364| 64,036,801          +0.06%
L1HitRate                     99|         99          +0.01%
L1hits                90,719,158| 90,783,077          +0.07%
LLHitRate                      1|          1          -0.98%
LLMissRate                     0|          0          -2.28%
LLdMissRate                    0|          0          -2.25%
LLhits                   799,746|    792,378          -0.92%
LLiMissRate                    0|          0          -7.33%
RamHitRate                     0|          0          -2.28%
RamHits                   52,525|     51,361          -2.22%
TotalRW               91,571,429| 91,626,816          +0.06%

update_executor_iai::update_group::update_executor with_setup_5:setup_update_executor(valley-of-spires)
Instructions: 35,993,159 (master) → 35,965,651 (HEAD) : $$\color{lime}-0.08\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -1.23%
D1mr                     383,755|    379,105          -1.21%
D1mw                      85,982|     84,277          -1.98%
DLmr                       2,633|      2,646          +0.49%
DLmw                       9,387|     10,166          +8.30%
Dr                     9,013,593|  9,007,319          -0.07%
Dw                     6,127,061|  6,115,214          -0.19%
EstimatedCycles       53,474,511| 53,383,180          -0.17%
I1MissRate                     0|          0         -45.98%
I1mr                      23,975|     12,942         -46.02%
ILmr                         175|        178          +1.71%
Ir                    35,993,159| 35,965,651          -0.08%
L1HitRate                     99|         99          +0.03%
L1hits                50,640,101| 50,611,860          -0.06%
LLHitRate                      1|          1          -3.69%
LLMissRate                     0|          0          +6.61%
LLdMissRate                    0|          0          +6.72%
LLhits                   481,517|    463,334          -3.78%
LLiMissRate                    0|          0          +1.79%
RamHitRate                     0|          0          +6.61%
RamHits                   12,195|     12,990          +6.52%
TotalRW               51,133,813| 51,088,184          -0.09%

🚀 Render: Cold Execution

run_once_iai::run_once_group::run_once with_setup_0:setup_run_once(isometric-fountain)
Instructions: 22,522,975 (master) → 22,661,877 (HEAD) : $$\color{red}+0.62\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.73%
D1mr                     275,688|    276,606          +0.33%
D1mw                      62,720|     62,472          -0.40%
DLmr                       7,757|      8,057          +3.87%
DLmw                       9,125|      9,796          +7.35%
Dr                     5,910,869|  5,959,584          +0.82%
Dw                     4,020,145|  4,063,934          +1.09%
EstimatedCycles       35,000,293| 35,274,583          +0.78%
I1MissRate                     1|          1          +1.35%
I1mr                     131,218|    133,814          +1.98%
ILmr                       5,378|      5,401          +0.43%
Ir                    22,522,975| 22,661,877          +0.62%
L1HitRate                     99|         99          +0.00%
L1hits                31,984,363| 32,212,503          +0.71%
LLHitRate                      1|          1          -0.20%
LLMissRate                     0|          0          +3.73%
LLdMissRate                    0|          0          +4.78%
LLhits                   447,366|    449,638          +0.51%
LLiMissRate                    0|          0          -0.19%
RamHitRate                     0|          0          +3.73%
RamHits                   22,260|     23,254          +4.47%
TotalRW               32,453,989| 32,685,395          +0.71%

run_once_iai::run_once_group::run_once with_setup_1:setup_run_once(painted-dreams)
Instructions: 80,016,948 (master) → 80,281,921 (HEAD) : $$\color{red}+0.33\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          -0.45%
D1mr                     414,787|    414,422          -0.09%
D1mw                     195,483|    197,092          +0.82%
DLmr                       3,943|      3,870          -1.85%
DLmw                      19,723|     22,855         +15.88%
Dr                    18,965,441| 19,076,564          +0.59%
Dw                    12,682,410| 12,779,274          +0.76%
EstimatedCycles      115,781,815|116,355,107          +0.50%
I1MissRate                     0|          0          +0.13%
I1mr                     184,609|    185,468          +0.47%
ILmr                       7,584|      7,589          +0.07%
Ir                    80,016,948| 80,281,921          +0.33%
L1HitRate                     99|         99          +0.00%
L1hits               110,869,920|111,340,777          +0.42%
LLHitRate                      1|          1          -0.55%
LLMissRate                     0|          0          +9.34%
LLdMissRate                    0|          0         +12.19%
LLhits                   763,629|    762,668          -0.13%
LLiMissRate                    0|          0          -0.26%
RamHitRate                     0|          0          +9.34%
RamHits                   31,250|     34,314          +9.80%
TotalRW              111,664,799|112,137,759          +0.42%

run_once_iai::run_once_group::run_once with_setup_2:setup_run_once(procedural-string-lights)
Instructions: 10,465,458 (master) → 10,520,328 (HEAD) : $$\color{red}+0.52\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          -0.82%
D1mr                      59,771|     59,318          -0.76%
D1mw                      22,960|     23,468          +2.21%
DLmr                         456|        406         -10.96%
DLmw                       1,255|      1,238          -1.35%
Dr                     2,564,595|  2,584,874          +0.79%
Dw                     1,843,004|  1,862,128          +1.04%
EstimatedCycles       15,582,509| 15,671,674          +0.57%
I1MissRate                     0|          0          -2.86%
I1mr                      48,402|     47,265          -2.35%
ILmr                       4,453|      4,494          +0.92%
Ir                    10,465,458| 10,520,328          +0.52%
L1HitRate                     99|         99          +0.01%
L1hits                14,741,924| 14,837,279          +0.65%
LLHitRate                      1|          1          -1.47%
LLMissRate                     0|          0          -1.05%
LLdMissRate                    0|          0          -4.77%
LLhits                   124,969|    123,913          -0.85%
LLiMissRate                    0|          0          +0.39%
RamHitRate                     0|          0          -1.05%
RamHits                    6,164|      6,138          -0.42%
TotalRW               14,873,057| 14,967,330          +0.63%

run_once_iai::run_once_group::run_once with_setup_3:setup_run_once(parametric-dunescape)
Instructions: 23,601,843 (master) → 23,719,393 (HEAD) : $$\color{red}+0.50\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     2|          2          -1.36%
D1mr                     160,918|    160,644          -0.17%
D1mw                      63,384|     62,988          -0.62%
DLmr                       2,271|      2,241          -1.32%
DLmw                       6,371|      6,262          -1.71%
Dr                     5,659,453|  5,711,838          +0.93%
Dw                     3,770,430|  3,819,968          +1.31%
EstimatedCycles       34,582,710| 34,799,283          +0.63%
I1MissRate                     0|          0          +0.80%
I1mr                      70,669|     71,589          +1.30%
ILmr                       3,728|      3,737          +0.24%
Ir                    23,601,843| 23,719,393          +0.50%
L1HitRate                     99|         99          +0.01%
L1hits                32,736,755| 32,955,978          +0.67%
LLHitRate                      1|          1          -0.53%
LLMissRate                     0|          0          -1.70%
LLdMissRate                    0|          0          -2.66%
LLhits                   282,601|    282,981          +0.13%
LLiMissRate                    0|          0          -0.26%
RamHitRate                     0|          0          -1.70%
RamHits                   12,370|     12,240          -1.05%
TotalRW               33,031,726| 33,251,199          +0.66%

run_once_iai::run_once_group::run_once with_setup_4:setup_run_once(red-dress)
Instructions: 1,803,421,987 (master) → 1,806,919,749 (HEAD) : $$\color{red}+0.19\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     0|          0          +1.90%
D1mr                   1,844,707|  1,865,726          +1.14%
D1mw                     856,220|    894,055          +4.42%
DLmr                     437,329|    455,773          +4.22%
DLmw                     504,881|    525,577          +4.10%
Dr                   431,315,796|432,365,654          +0.24%
Dw                   277,961,725|278,859,658          +0.32%
EstimatedCycles      2,556,780,090|2,563,454,763          +0.26%
I1MissRate                     0|          0          -3.97%
I1mr                   1,212,601|  1,166,742          -3.78%
ILmr                       5,339|      5,437          +1.84%
Ir                   1,803,421,987|1,806,919,749          +0.19%
L1HitRate                    100|        100          -0.00%
L1hits               2,508,785,980|2,514,218,538          +0.22%
LLHitRate                      0|          0          -1.10%
LLMissRate                     0|          0          +3.92%
LLdMissRate                    0|          0          +3.87%
LLhits                 2,965,979|  2,939,736          -0.88%
LLiMissRate                    0|          0          +1.64%
RamHitRate                     0|          0          +3.92%
RamHits                  947,549|    986,787          +4.14%
TotalRW              2,512,699,508|2,518,145,061          +0.22%

run_once_iai::run_once_group::run_once with_setup_5:setup_run_once(valley-of-spires)
Instructions: 20,504,823 (master) → 20,585,354 (HEAD) : $$\color{red}+0.39\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          3          -0.60%
D1mr                     222,700|    220,504          -0.99%
D1mw                      53,673|     54,239          +1.05%
DLmr                       5,698|      5,667          -0.54%
DLmw                       6,654|      6,588          -0.99%
Dr                     5,172,032|  5,173,600          +0.03%
Dw                     3,491,378|  3,491,009          -0.01%
EstimatedCycles       31,175,575| 31,254,169          +0.25%
I1MissRate                     1|          1          +0.85%
I1mr                     106,280|    107,606          +1.25%
ILmr                       3,539|      3,572          +0.93%
Ir                    20,504,823| 20,585,354          +0.39%
L1HitRate                     99|         99          +0.00%
L1hits                28,785,580| 28,867,614          +0.28%
LLHitRate                      1|          1          -0.34%
LLMissRate                     0|          0          -0.68%
LLdMissRate                    0|          0          -0.80%
LLhits                   366,762|    366,522          -0.07%
LLiMissRate                    0|          0          +0.54%
RamHitRate                     0|          0          -0.68%
RamHits                   15,891|     15,827          -0.40%
TotalRW               29,168,233| 29,249,963          +0.28%

⚡ Render: Cached Execution

run_cached_iai::run_cached_group::run_cached with_setup_0:setup_run_cached(isometric-fountain)
Instructions: 7,886,755 (master) → 7,925,100 (HEAD) : $$\color{red}+0.49\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -0.04%
D1mr                     194,957|    195,940          +0.50%
D1mw                       7,540|      7,512          -0.37%
DLmr                       1,108|        946         -14.62%
DLmw                         195|        239         +22.56%
Dr                     2,400,293|  2,412,776          +0.52%
Dw                     1,426,151|  1,433,096          +0.49%
EstimatedCycles       12,570,125| 12,628,034          +0.46%
I1MissRate                     0|          0          -3.40%
I1mr                         717|        696          -2.93%
ILmr                         166|        164          -1.20%
Ir                     7,886,755|  7,925,100          +0.49%
L1HitRate                     98|         98          +0.00%
L1hits                11,509,985| 11,566,824          +0.49%
LLHitRate                      2|          2          +0.03%
LLMissRate                     0|          0          -8.62%
LLdMissRate                    0|          0          -9.52%
LLhits                   201,745|    202,799          +0.52%
LLiMissRate                    0|          0          -1.68%
RamHitRate                     0|          0          -8.62%
RamHits                    1,469|      1,349          -8.17%
TotalRW               11,713,199| 11,770,972          +0.49%

run_cached_iai::run_cached_group::run_cached with_setup_1:setup_run_cached(painted-dreams)
Instructions: 5,910,594 (master) → 5,950,251 (HEAD) : $$\color{red}+0.67\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          +0.43%
D1mr                     127,532|    129,134          +1.26%
D1mw                       7,061|      7,194          +1.88%
DLmr                         302|        141         -53.31%
DLmw                       3,661|         28         -99.24%
Dr                     1,836,206|  1,851,844          +0.85%
Dw                     1,099,637|  1,109,064          +0.86%
EstimatedCycles        9,511,355|  9,469,081          -0.44%
I1MissRate                     0|          0          -4.62%
I1mr                         729|        700          -3.98%
ILmr                         158|        158          +0.00%
Ir                     5,910,594|  5,950,251          +0.67%
L1HitRate                     98|         98          -0.01%
L1hits                 8,711,115|  8,774,131          +0.72%
LLHitRate                      1|          2          +3.44%
LLMissRate                     0|          0         -92.12%
LLdMissRate                    0|          0         -95.77%
LLhits                   131,201|    136,701          +4.19%
LLiMissRate                    0|          0          -0.67%
RamHitRate                     0|          0         -92.12%
RamHits                    4,121|        327         -92.07%
TotalRW                8,846,437|  8,911,159          +0.73%

run_cached_iai::run_cached_group::run_cached with_setup_2:setup_run_cached(procedural-string-lights)
Instructions: 1,487,596 (master) → 1,601,063 (HEAD) : $$\color{red}+7.63\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     3|          4          +6.24%
D1mr                      26,290|     30,059         +14.34%
D1mw                       3,649|      3,707          +1.59%
DLmr                           8|          5         -37.50%
DLmw                           5|        NaN        -100.00%
Dr                       519,526|    551,977          +6.25%
Dw                       340,271|    360,764          +6.02%
EstimatedCycles        2,474,645|  2,656,084          +7.33%
I1MissRate                     0|          0         -10.32%
I1mr                         719|        694          -3.48%
ILmr                         141|        143          +1.42%
Ir                     1,487,596|  1,601,063          +7.63%
L1HitRate                     99|         99          -0.07%
L1hits                 2,316,735|  2,479,344          +7.02%
LLHitRate                      1|          1          +5.04%
LLMissRate                     0|          0         -10.26%
LLdMissRate                    0|          0         -63.77%
LLhits                    30,504|     34,312         +12.48%
LLiMissRate                    0|          0          -5.77%
RamHitRate                     0|          0         -10.26%
RamHits                      154|        148          -3.90%
TotalRW                2,347,393|  2,513,804          +7.09%

run_cached_iai::run_cached_group::run_cached with_setup_3:setup_run_cached(parametric-dunescape)
Instructions: 3,646,052 (master) → 3,752,273 (HEAD) : $$\color{red}+2.91\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          -7.67%
D1mr                      92,166|     92,657          +0.53%
D1mw                       6,136|      7,762         +26.50%
DLmr                          43|         47          +9.30%
DLmw                          43|         13         -69.77%
Dr                     1,174,874|  1,277,197          +8.71%
Dw                       738,021|    839,327         +13.73%
EstimatedCycles        5,961,511|  6,278,939          +5.32%
I1MissRate                     0|          0          -5.65%
I1mr                         689|        669          -2.90%
ILmr                         134|        133          -0.75%
Ir                     3,646,052|  3,752,273          +2.91%
L1HitRate                     98|         98          +0.06%
L1hits                 5,459,956|  5,767,709          +5.64%
LLHitRate                      2|          2          -3.24%
LLMissRate                     0|          0         -16.90%
LLdMissRate                    0|          0         -36.94%
LLhits                    98,771|    100,895          +2.15%
LLiMissRate                    0|          0          -3.56%
RamHitRate                     0|          0         -16.90%
RamHits                      220|        193         -12.27%
TotalRW                5,558,947|  5,868,797          +5.57%

run_cached_iai::run_cached_group::run_cached with_setup_4:setup_run_cached(red-dress)
Instructions: 35,009,018 (master) → 35,578,561 (HEAD) : $$\color{red}+1.63\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          +0.66%
D1mr                     660,478|    680,080          +2.97%
D1mw                      98,741|    100,992          +2.28%
DLmr                     295,814|    303,303          +2.53%
DLmw                      53,010|     55,112          +3.97%
Dr                     9,942,008| 10,145,510          +2.05%
Dw                     5,361,217|  5,495,562          +2.51%
EstimatedCycles       63,839,761| 65,121,017          +2.01%
I1MissRate                     0|          0          -4.02%
I1mr                         773|        754          -2.46%
ILmr                         761|        721          -5.26%
Ir                    35,009,018| 35,578,561          +1.63%
L1HitRate                     98|         98          -0.02%
L1hits                49,552,251| 50,437,807          +1.79%
LLHitRate                      1|          1          +1.17%
LLMissRate                     1|          1          +0.91%
LLdMissRate                    2|          2          +0.53%
LLhits                   410,407|    422,690          +2.99%
LLiMissRate                    0|          0          -6.77%
RamHitRate                     1|          1          +0.91%
RamHits                  349,585|    359,136          +2.73%
TotalRW               50,312,243| 51,219,633          +1.80%

run_cached_iai::run_cached_group::run_cached with_setup_5:setup_run_cached(valley-of-spires)
Instructions: 6,318,740 (master) → 6,364,538 (HEAD) : $$\color{red}+0.72\%$$

Detailed metrics
Baselines:                master|       HEAD
D1MissRate                     5|          5          +0.23%
D1mr                     152,969|    153,949          +0.64%
D1mw                       7,585|      7,489          -1.27%
DLmr                         198|        199          +0.51%
DLmw                         131|        168         +28.24%
Dr                     1,934,744|  1,943,544          +0.45%
Dw                     1,159,111|  1,160,163          +0.09%
EstimatedCycles       10,072,201| 10,132,439          +0.60%
I1MissRate                     0|          0          -3.80%
I1mr                         710|        688          -3.10%
ILmr                         156|        156          +0.00%
Ir                     6,318,740|  6,364,538          +0.72%
L1HitRate                     98|         98          +0.00%
L1hits                 9,251,331|  9,306,119          +0.59%
LLHitRate                      2|          2          -0.08%
LLMissRate                     0|          0          +7.20%
LLdMissRate                    0|          0         +11.20%
LLhits                   160,779|    161,603          +0.51%
LLiMissRate                    0|          0          -0.72%
RamHitRate                     0|          0          +7.20%
RamHits                      485|        523          +7.84%
TotalRW                9,412,595|  9,468,245          +0.59%

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.