Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Add Arc Shape and Arc Gizmos

Open 0SlowPoke0 opened this issue 6 months ago • 1 comments

  • Implemented 'Arc' shape which can be drawn by the shape tool
  • Added Arc gizmos to change the arc endpoints
  • fixed bug #2743

0SlowPoke0 avatar Jun 26 '25 13:06 0SlowPoke0

Performance Benchmark Results

compile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain) Instructions: 25,042,118 (master) -> 25,039,243 (HEAD) : $$\color{lime}-0.01\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     311,129|    310,725          -0.13%
D1mw                      98,996|     98,596          -0.40%
DLmr                      28,575|     28,718          +0.50%
DLmw                      46,361|     37,766         -18.54%
Dr                     6,025,005|  6,025,015          +0.00%
Dw                     4,266,070|  4,266,521          +0.01%
EstimatedCycles       39,441,551| 39,172,507          -0.68%
I1mr                      48,517|     46,001          -5.19%
ILmr                         857|        864          +0.82%
Ir                    25,042,118| 25,039,243          -0.01%
L1hits                34,874,551| 34,875,457          +0.00%
LLhits                   382,849|    387,974          +1.34%
RamHits                   75,793|     67,348         -11.14%
TotalRW               35,333,193| 35,330,779          -0.01%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams) Instructions: 13,048,072 (master) -> 13,040,406 (HEAD) : $$\color{lime}-0.06\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     155,769|    156,203          +0.28%
D1mw                      49,722|     50,127          +0.81%
DLmr                         551|        824         +49.55%
DLmw                      16,495|     15,753          -4.50%
Dr                     3,138,343|  3,137,916          -0.01%
Dw                     2,212,929|  2,212,663          -0.01%
EstimatedCycles       19,849,404| 19,824,235          -0.13%
I1mr                      23,674|     22,150          -6.44%
ILmr                         734|        734          +0.00%
Ir                    13,048,072| 13,040,406          -0.06%
L1hits                18,170,179| 18,162,505          -0.04%
LLhits                   211,385|    211,169          -0.10%
RamHits                   17,780|     17,311          -2.64%
TotalRW               18,399,344| 18,390,985          -0.05%

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

Detailed metrics
Baselines:                master|       HEAD
D1mr                      22,678|     22,321          -1.57%
D1mw                      10,614|     10,577          -0.35%
DLmr                          19|         22         +15.79%
DLmw                       1,564|      2,492         +59.34%
Dr                       503,994|    494,281          -1.93%
Dw                       368,588|    361,282          -1.98%
EstimatedCycles        3,295,831|  3,259,491          -1.10%
I1mr                       5,140|      4,954          -3.62%
ILmr                         711|        709          -0.28%
Ir                     2,200,701|  2,155,830          -2.04%
L1hits                 3,034,851|  2,973,541          -2.02%
LLhits                    36,138|     34,629          -4.18%
RamHits                    2,294|      3,223         +40.50%
TotalRW                3,073,283|  3,011,393          -2.01%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape) Instructions: 14,399,793 (master) -> 12,494,274 (HEAD) : $$\color{lime}-13.23\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     182,038|    152,465         -16.25%
D1mw                      64,932|     50,100         -22.84%
DLmr                          62|         39         -37.10%
DLmw                      16,699|     12,074         -27.70%
Dr                     3,426,956|  2,973,849         -13.22%
Dw                     2,454,298|  2,123,628         -13.47%
EstimatedCycles       21,878,965| 18,869,361         -13.76%
I1mr                      20,442|     19,645          -3.90%
ILmr                         848|        846          -0.24%
Ir                    14,399,793| 12,494,274         -13.23%
L1hits                20,013,635| 17,369,541         -13.21%
LLhits                   249,803|    209,251         -16.23%
RamHits                   17,609|     12,959         -26.41%
TotalRW               20,281,047| 17,591,751         -13.26%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress) Instructions: 30,639,395 (master) -> 29,974,076 (HEAD) : $$\color{lime}-2.17\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     391,303|    382,824          -2.17%
D1mw                     130,272|    126,906          -2.58%
DLmr                      41,992|     41,012          -2.33%
DLmw                      54,169|     62,772         +15.88%
Dr                     7,309,066|  7,153,099          -2.13%
Dw                     5,186,553|  5,073,661          -2.18%
EstimatedCycles       48,343,248| 47,576,292          -1.59%
I1mr                      52,781|     49,169          -6.84%
ILmr                         866|        878          +1.39%
Ir                    30,639,395| 29,974,076          -2.17%
L1hits                42,560,658| 41,641,937          -2.16%
LLhits                   477,329|    454,237          -4.84%
RamHits                   97,027|    104,662          +7.87%
TotalRW               43,135,014| 42,200,836          -2.17%

compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires) Instructions: 19,009,702 (master) -> 19,008,798 (HEAD) : $$\color{lime}-0.00\%$$

Detailed metrics
Baselines:                master|       HEAD
D1mr                     234,864|    235,048          +0.08%
D1mw                      76,564|     76,652          +0.11%
DLmr                      12,525|     11,498          -8.20%
DLmw                      34,659|     25,753         -25.70%
Dr                     4,558,356|  4,558,298          -0.00%
Dw                     3,228,727|  3,229,050          +0.01%
EstimatedCycles       29,627,119| 29,319,602          -1.04%
I1mr                      36,433|     33,999          -6.68%
ILmr                         779|        771          -1.03%
Ir                    19,009,702| 19,008,798          -0.00%
L1hits                26,448,924| 26,450,447          +0.01%
LLhits                   299,898|    307,677          +2.59%
RamHits                   47,963|     38,022         -20.73%
TotalRW               26,796,785| 26,796,146          -0.00%

github-actions[bot] avatar Jun 26 '25 13:06 github-actions[bot]