Skip to content

Add origin to each layer #2730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Add origin to each layer #2730

wants to merge 19 commits into from

Conversation

mTvare6
Copy link
Collaborator

@mTvare6 mTvare6 commented Jun 18, 2025

Closes #2225

@mTvare6 mTvare6 marked this pull request as draft June 18, 2025 04:02
Copy link

github-actions bot commented Jun 26, 2025

Performance Benchmark Results

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain)
Instructions: 25,054,013 (master) -> 25,040,722 (HEAD) : $$\color{lime}-0.05\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     309,669|    309,599          -0.02%
D1mw                      98,389|     98,877          +0.50%
DLmr                      28,853|     28,825          -0.10%
DLmw                      43,595|     38,963         -10.63%
Dr                     6,026,553|  6,024,874          -0.03%
Dw                     4,266,913|  4,266,508          -0.01%
EstimatedCycles       39,368,709| 39,179,576          -0.48%
I1mr                      47,492|     38,517         -18.90%
ILmr                         853|        862          +1.06%
Ir                    25,054,013| 25,040,722          -0.05%
L1hits                34,891,929| 34,885,111          -0.02%
LLhits                   382,249|    378,343          -1.02%
RamHits                   73,301|     68,650          -6.35%
TotalRW               35,347,479| 35,332,104          -0.04%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams)
Instructions: 13,044,416 (master) -> 13,040,721 (HEAD) : $$\color{lime}-0.03\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     156,573|    155,559          -0.65%
D1mw                      50,223|     49,786          -0.87%
DLmr                         853|        748         -12.31%
DLmw                      16,120|     16,290          +1.05%
Dr                     3,137,993|  3,138,272          +0.01%
Dw                     2,212,882|  2,213,040          +0.01%
EstimatedCycles       19,847,165| 19,822,711          -0.12%
I1mr                      23,400|     19,087         -18.43%
ILmr                         730|        727          -0.41%
Ir                    13,044,416| 13,040,721          -0.03%
L1hits                18,165,095| 18,167,601          +0.01%
LLhits                   212,493|    206,667          -2.74%
RamHits                   17,703|     17,765          +0.35%
TotalRW               18,395,291| 18,392,033          -0.02%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights)
Instructions: 2,201,510 (master) -> 2,155,528 (HEAD) : $$\color{lime}-2.09\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                      22,745|     22,359          -1.70%
D1mw                      10,664|     10,500          -1.54%
DLmr                          19|         20          +5.26%
DLmw                       1,565|      2,462         +57.32%
Dr                       504,335|    494,207          -2.01%
Dw                       368,685|    361,206          -2.03%
EstimatedCycles        3,297,222|  3,255,345          -1.27%
I1mr                       5,104|      4,332         -15.13%
ILmr                         704|        706          +0.28%
Ir                     2,201,510|  2,155,528          -2.09%
L1hits                 3,036,017|  2,973,750          -2.05%
LLhits                    36,225|     34,003          -6.13%
RamHits                    2,288|      3,188         +39.34%
TotalRW                3,074,530|  3,010,941          -2.07%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape)
Instructions: 14,399,903 (master) -> 12,495,812 (HEAD) : $$\color{lime}-13.22\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     182,379|    152,321         -16.48%
D1mw                      65,574|     50,293         -23.30%
DLmr                          59|         46         -22.03%
DLmw                      16,584|     12,168         -26.63%
Dr                     3,426,873|  2,974,404         -13.20%
Dw                     2,454,373|  2,124,097         -13.46%
EstimatedCycles       21,880,303| 18,865,793         -13.78%
I1mr                      20,683|     17,336         -16.18%
ILmr                         844|        842          -0.24%
Ir                    14,399,903| 12,495,812         -13.22%
L1hits                20,012,513| 17,374,363         -13.18%
LLhits                   251,149|    206,894         -17.62%
RamHits                   17,487|     13,056         -25.34%
TotalRW               20,281,149| 17,594,313         -13.25%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress)
Instructions: 30,630,505 (master) -> 29,969,820 (HEAD) : $$\color{lime}-2.16\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     391,045|    382,695          -2.14%
D1mw                     130,830|    126,406          -3.38%
DLmr                      41,894|     40,796          -2.62%
DLmw                      63,492|     62,948          -0.86%
Dr                     7,309,043|  7,152,024          -2.15%
Dw                     5,186,450|  5,073,187          -2.18%
EstimatedCycles       48,605,162| 47,537,895          -2.20%
I1mr                      50,981|     41,935         -17.74%
ILmr                         872|        880          +0.92%
Ir                    30,630,505| 29,969,820          -2.16%
L1hits                42,553,142| 41,643,995          -2.14%
LLhits                   466,598|    446,412          -4.33%
RamHits                  106,258|    104,624          -1.54%
TotalRW               43,125,998| 42,195,031          -2.16%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires)
Instructions: 19,015,092 (master) -> 19,015,532 (HEAD) : $$\color{red}+0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     235,610|    234,364          -0.53%
D1mw                      76,801|     76,240          -0.73%
DLmr                      11,570|     11,605          +0.30%
DLmw                      26,697|     25,909          -2.95%
Dr                     4,559,248|  4,560,003          +0.02%
Dw                     3,229,396|  3,229,703          +0.01%
EstimatedCycles       29,365,758| 29,313,162          -0.18%
I1mr                      35,302|     29,142         -17.45%
ILmr                         772|        784          +1.55%
Ir                    19,015,092| 19,015,532          +0.00%
L1hits                26,456,023| 26,465,492          +0.04%
LLhits                   308,674|    301,448          -2.34%
RamHits                   39,039|     38,298          -1.90%
TotalRW               26,803,736| 26,805,238          +0.01%

Copy link

github-actions bot commented Jun 26, 2025

Performance Benchmark Results

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain)
Instructions: 25,058,848 (master) -> 25,041,313 (HEAD) : $$\color{lime}-0.07\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     309,832|    309,445          -0.12%
D1mw                      98,325|     98,803          +0.49%
DLmr                      28,852|     28,821          -0.11%
DLmw                      43,580|     38,963         -10.59%
Dr                     6,027,192|  6,025,055          -0.04%
Dw                     4,266,964|  4,266,610          -0.01%
EstimatedCycles       39,374,150| 39,179,452          -0.49%
I1mr                      47,492|     38,518         -18.90%
ILmr                         853|        863          +1.17%
Ir                    25,058,848| 25,041,313          -0.07%
L1hits                34,897,355| 34,886,212          -0.03%
LLhits                   382,364|    378,119          -1.11%
RamHits                   73,285|     68,647          -6.33%
TotalRW               35,353,004| 35,332,978          -0.06%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams)
Instructions: 13,044,917 (master) -> 13,042,392 (HEAD) : $$\color{lime}-0.02\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     156,383|    155,421          -0.62%
D1mw                      50,168|     49,788          -0.76%
DLmr                         854|        746         -12.65%
DLmw                      16,124|     16,294          +1.05%
Dr                     3,138,077|  3,138,454          +0.01%
Dw                     2,212,877|  2,213,076          +0.01%
EstimatedCycles       19,846,915| 19,824,082          -0.12%
I1mr                      23,400|     19,086         -18.44%
ILmr                         730|        726          -0.55%
Ir                    13,044,917| 13,042,392          -0.02%
L1hits                18,165,920| 18,169,627          +0.02%
LLhits                   212,243|    206,529          -2.69%
RamHits                   17,708|     17,766          +0.33%
TotalRW               18,395,871| 18,393,922          -0.01%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights)
Instructions: 2,200,764 (master) -> 2,155,953 (HEAD) : $$\color{lime}-2.04\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                      22,723|     22,350          -1.64%
D1mw                      10,646|     10,508          -1.30%
DLmr                          19|         20          +5.26%
DLmw                       1,566|      2,463         +57.28%
Dr                       504,176|    494,314          -1.96%
Dw                       368,592|    361,260          -1.99%
EstimatedCycles        3,296,094|  3,255,923          -1.22%
I1mr                       5,104|      4,331         -15.14%
ILmr                         704|        705          +0.14%
Ir                     2,200,764|  2,155,953          -2.04%
L1hits                 3,035,059|  2,974,338          -2.00%
LLhits                    36,184|     34,001          -6.03%
RamHits                    2,289|      3,188         +39.27%
TotalRW                3,073,532|  3,011,527          -2.02%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape)
Instructions: 14,398,463 (master) -> 12,499,263 (HEAD) : $$\color{lime}-13.19\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     182,366|    152,404         -16.43%
D1mw                      65,632|     50,324         -23.32%
DLmr                          58|         46         -20.69%
DLmw                      16,581|     12,171         -26.60%
Dr                     3,426,752|  2,974,879         -13.19%
Dw                     2,454,428|  2,124,254         -13.45%
EstimatedCycles       21,878,823| 18,870,354         -13.75%
I1mr                      20,682|     17,334         -16.19%
ILmr                         843|        840          -0.36%
Ir                    14,398,463| 12,499,263         -13.19%
L1hits                20,010,963| 17,378,334         -13.16%
LLhits                   251,198|    207,005         -17.59%
RamHits                   17,482|     13,057         -25.31%
TotalRW               20,279,643| 17,598,396         -13.22%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress)
Instructions: 30,631,301 (master) -> 29,971,197 (HEAD) : $$\color{lime}-2.15\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     390,859|    382,836          -2.05%
D1mw                     130,802|    126,389          -3.37%
DLmr                      41,894|     40,791          -2.63%
DLmw                      63,493|     62,971          -0.82%
Dr                     7,309,096|  7,152,183          -2.15%
Dw                     5,186,377|  5,073,176          -2.18%
EstimatedCycles       48,605,146| 47,540,456          -2.19%
I1mr                      50,982|     41,935         -17.75%
ILmr                         873|        880          +0.80%
Ir                    30,631,301| 29,971,197          -2.15%
L1hits                42,554,131| 41,645,396          -2.14%
LLhits                   466,383|    446,518          -4.26%
RamHits                  106,260|    104,642          -1.52%
TotalRW               43,126,774| 42,196,556          -2.16%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires)
Instructions: 19,019,020 (master) -> 19,013,379 (HEAD) : $$\color{lime}-0.03\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     235,588|    234,754          -0.35%
D1mw                      76,779|     76,333          -0.58%
DLmr                      11,569|     11,601          +0.28%
DLmw                      26,675|     25,895          -2.92%
Dr                     4,559,802|  4,559,707          -0.00%
Dw                     3,229,476|  3,229,690          +0.01%
EstimatedCycles       29,369,454| 29,312,160          -0.20%
I1mr                      35,302|     29,144         -17.44%
ILmr                         772|        786          +1.81%
Ir                    19,019,020| 19,013,379          -0.03%
L1hits                26,460,629| 26,462,545          +0.01%
LLhits                   308,653|    301,949          -2.17%
RamHits                   39,016|     38,282          -1.88%
TotalRW               26,808,298| 26,802,776          -0.02%

Copy link

github-actions bot commented Jun 27, 2025

Performance Benchmark Results

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain)
Instructions: 25,126,009 (master) -> 25,121,145 (HEAD) : $$\color{lime}-0.02\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     310,166|    309,530          -0.21%
D1mw                      97,563|     97,534          -0.03%
DLmr                      29,056|     28,730          -1.12%
DLmw                      46,138|     42,608          -7.65%
Dr                     6,086,612|  6,086,605          -0.00%
Dw                     4,304,000|  4,304,962          +0.02%
EstimatedCycles       39,603,575| 39,504,698          -0.25%
I1mr                      43,627|     49,515         +13.50%
ILmr                         857|        851          -0.70%
Ir                    25,126,009| 25,121,145          -0.02%
L1hits                35,065,265| 35,056,133          -0.03%
LLhits                   375,305|    384,390          +2.42%
RamHits                   76,051|     72,189          -5.08%
TotalRW               35,516,621| 35,512,712          -0.01%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams)
Instructions: 13,097,129 (master) -> 13,083,632 (HEAD) : $$\color{lime}-0.10\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     155,000|    155,785          +0.51%
D1mw                      50,490|     49,802          -1.36%
DLmr                         972|        770         -20.78%
DLmw                      15,936|     15,786          -0.94%
Dr                     3,173,656|  3,171,842          -0.06%
Dw                     2,234,851|  2,233,709          -0.05%
EstimatedCycles       19,941,546| 19,927,311          -0.07%
I1mr                      21,210|     24,330         +14.71%
ILmr                         729|        726          -0.41%
Ir                    13,097,129| 13,083,632          -0.10%
L1hits                18,278,936| 18,259,266          -0.11%
LLhits                   209,063|    212,635          +1.71%
RamHits                   17,637|     17,282          -2.01%
TotalRW               18,505,636| 18,489,183          -0.09%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights)
Instructions: 2,205,290 (master) -> 2,164,602 (HEAD) : $$\color{lime}-1.85\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                      22,615|     22,351          -1.17%
D1mw                      10,724|     10,636          -0.82%
DLmr                          21|         19          -9.52%
DLmw                       1,585|      2,509         +58.30%
Dr                       510,222|    500,607          -1.88%
Dw                       372,372|    365,174          -1.93%
EstimatedCycles        3,309,482|  3,280,371          -0.88%
I1mr                       4,653|      5,240         +12.62%
ILmr                         715|        708          -0.98%
Ir                     2,205,290|  2,164,602          -1.85%
L1hits                 3,049,892|  2,992,156          -1.89%
LLhits                    35,671|     34,991          -1.91%
RamHits                    2,321|      3,236         +39.42%
TotalRW                3,087,884|  3,030,383          -1.86%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape)
Instructions: 14,478,166 (master) -> 12,555,755 (HEAD) : $$\color{lime}-13.28\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     186,234|    155,704         -16.39%
D1mw                      66,363|     50,713         -23.58%
DLmr                          52|         41         -21.15%
DLmw                      17,141|     11,977         -30.13%
Dr                     3,473,964|  3,011,942         -13.30%
Dw                     2,482,167|  2,146,463         -13.52%
EstimatedCycles       22,061,981| 19,007,086         -13.85%
I1mr                      19,054|     20,402          +7.07%
ILmr                         843|        837          -0.71%
Ir                    14,478,166| 12,555,755         -13.28%
L1hits                20,162,646| 17,487,341         -13.27%
LLhits                   253,615|    213,964         -15.63%
RamHits                   18,036|     12,855         -28.73%
TotalRW               20,434,297| 17,714,160         -13.31%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress)
Instructions: 30,719,344 (master) -> 30,057,087 (HEAD) : $$\color{lime}-2.16\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     388,820|    382,476          -1.63%
D1mw                     130,864|    126,484          -3.35%
DLmr                      42,310|     40,926          -3.27%
DLmw                      63,835|     63,059          -1.22%
Dr                     7,382,087|  7,223,583          -2.15%
Dw                     5,232,234|  5,117,522          -2.19%
EstimatedCycles       48,810,195| 47,793,910          -2.08%
I1mr                      46,821|     53,542         +14.35%
ILmr                         872|        872          +0.00%
Ir                    30,719,344| 30,057,087          -2.16%
L1hits                42,767,160| 41,835,690          -2.18%
LLhits                   459,488|    457,645          -0.40%
RamHits                  107,017|    104,857          -2.02%
TotalRW               43,333,665| 42,398,192          -2.16%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires)
Instructions: 19,067,106 (master) -> 19,069,888 (HEAD) : $$\color{red}+0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     235,484|    235,108          -0.16%
D1mw                      75,904|     76,923          +1.34%
DLmr                      12,373|     11,930          -3.58%
DLmw                      28,544|     26,132          -8.45%
Dr                     4,604,407|  4,604,878          +0.01%
Dw                     3,257,460|  3,257,497          +0.00%
EstimatedCycles       29,554,131| 29,493,157          -0.21%
I1mr                      32,174|     36,945         +14.83%
ILmr                         780|        771          -1.15%
Ir                    19,067,106| 19,069,888          +0.01%
L1hits                26,585,411| 26,583,287          -0.01%
LLhits                   301,865|    310,143          +2.74%
RamHits                   41,697|     38,833          -6.87%
TotalRW               26,928,973| 26,932,263          +0.01%

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.

Visualize the separate concepts of tooling pivot and graphical data origin
2 participants