@@ -237,12 +237,12 @@ class VMTests extends munit.FunSuite {
237
237
238
238
val are_we_fast_yet : Seq [(File , Option [Summary ])] = Seq (
239
239
examplesDir / " benchmarks" / " are_we_fast_yet" / " bounce.effekt" -> Some (Summary (
240
- staticDispatches = 5202 ,
240
+ staticDispatches = 20202 ,
241
241
dynamicDispatches = 5000 ,
242
242
patternMatches = 0 ,
243
243
branches = 31628 ,
244
- pushedFrames = 31479 ,
245
- poppedFrames = 31479 ,
244
+ pushedFrames = 5052 ,
245
+ poppedFrames = 5052 ,
246
246
allocations = 0 ,
247
247
closures = 100 ,
248
248
variableReads = 7132 ,
@@ -269,12 +269,12 @@ class VMTests extends munit.FunSuite {
269
269
)),
270
270
271
271
examplesDir / " benchmarks" / " are_we_fast_yet" / " mandelbrot.effekt" -> Some (Summary (
272
- staticDispatches = 11 ,
272
+ staticDispatches = 18 ,
273
273
dynamicDispatches = 0 ,
274
274
patternMatches = 0 ,
275
275
branches = 26 ,
276
- pushedFrames = 18 ,
277
- poppedFrames = 18 ,
276
+ pushedFrames = 3 ,
277
+ poppedFrames = 3 ,
278
278
allocations = 0 ,
279
279
closures = 0 ,
280
280
variableReads = 70 ,
@@ -289,8 +289,8 @@ class VMTests extends munit.FunSuite {
289
289
dynamicDispatches = 0 ,
290
290
patternMatches = 455 ,
291
291
branches = 56 ,
292
- pushedFrames = 17 ,
293
- poppedFrames = 17 ,
292
+ pushedFrames = 15 ,
293
+ poppedFrames = 15 ,
294
294
allocations = 31 ,
295
295
closures = 0 ,
296
296
variableReads = 34 ,
@@ -301,12 +301,12 @@ class VMTests extends munit.FunSuite {
301
301
)),
302
302
303
303
examplesDir / " benchmarks" / " are_we_fast_yet" / " queens.effekt" -> Some (Summary (
304
- staticDispatches = 1146 ,
304
+ staticDispatches = 2898 ,
305
305
dynamicDispatches = 0 ,
306
306
patternMatches = 0 ,
307
307
branches = 3887 ,
308
- pushedFrames = 3084 ,
309
- poppedFrames = 3060 ,
308
+ pushedFrames = 455 ,
309
+ poppedFrames = 439 ,
310
310
allocations = 0 ,
311
311
closures = 0 ,
312
312
variableReads = 0 ,
@@ -321,8 +321,8 @@ class VMTests extends munit.FunSuite {
321
321
dynamicDispatches = 0 ,
322
322
patternMatches = 0 ,
323
323
branches = 26736 ,
324
- pushedFrames = 5001 ,
325
- poppedFrames = 5001 ,
324
+ pushedFrames = 5000 ,
325
+ poppedFrames = 5000 ,
326
326
allocations = 0 ,
327
327
closures = 0 ,
328
328
variableReads = 34546 ,
@@ -333,12 +333,12 @@ class VMTests extends munit.FunSuite {
333
333
)),
334
334
335
335
examplesDir / " benchmarks" / " are_we_fast_yet" / " towers.effekt" -> Some (Summary (
336
- staticDispatches = 16401 ,
336
+ staticDispatches = 24606 ,
337
337
dynamicDispatches = 0 ,
338
338
patternMatches = 16396 ,
339
339
branches = 16287 ,
340
- pushedFrames = 24590 ,
341
- poppedFrames = 24590 ,
340
+ pushedFrames = 8193 ,
341
+ poppedFrames = 8193 ,
342
342
allocations = 8206 ,
343
343
closures = 0 ,
344
344
variableReads = 41027 ,
@@ -369,8 +369,8 @@ class VMTests extends munit.FunSuite {
369
369
dynamicDispatches = 0 ,
370
370
patternMatches = 0 ,
371
371
branches = 5463 ,
372
- pushedFrames = 5463 ,
373
- poppedFrames = 5463 ,
372
+ pushedFrames = 5462 ,
373
+ poppedFrames = 5462 ,
374
374
allocations = 5461 ,
375
375
closures = 0 ,
376
376
variableReads = 13654 ,
@@ -467,8 +467,8 @@ class VMTests extends munit.FunSuite {
467
467
dynamicDispatches = 0 ,
468
468
patternMatches = 6 ,
469
469
branches = 6 ,
470
- pushedFrames = 7 ,
471
- poppedFrames = 7 ,
470
+ pushedFrames = 6 ,
471
+ poppedFrames = 6 ,
472
472
allocations = 6 ,
473
473
closures = 0 ,
474
474
variableReads = 0 ,
@@ -517,8 +517,8 @@ class VMTests extends munit.FunSuite {
517
517
dynamicDispatches = 0 ,
518
518
patternMatches = 0 ,
519
519
branches = 7 ,
520
- pushedFrames = 2 ,
521
- poppedFrames = 2 ,
520
+ pushedFrames = 1 ,
521
+ poppedFrames = 1 ,
522
522
allocations = 0 ,
523
523
closures = 0 ,
524
524
variableReads = 7 ,
@@ -532,9 +532,9 @@ class VMTests extends munit.FunSuite {
532
532
staticDispatches = 626 ,
533
533
dynamicDispatches = 0 ,
534
534
patternMatches = 400 ,
535
- branches = 1487 ,
536
- pushedFrames = 1185 ,
537
- poppedFrames = 1409 ,
535
+ branches = 1282 ,
536
+ pushedFrames = 491 ,
537
+ poppedFrames = 715 ,
538
538
allocations = 54 ,
539
539
closures = 0 ,
540
540
variableReads = 0 ,
@@ -549,8 +549,8 @@ class VMTests extends munit.FunSuite {
549
549
dynamicDispatches = 0 ,
550
550
patternMatches = 0 ,
551
551
branches = 210 ,
552
- pushedFrames = 69 ,
553
- poppedFrames = 68 ,
552
+ pushedFrames = 68 ,
553
+ poppedFrames = 67 ,
554
554
allocations = 0 ,
555
555
closures = 0 ,
556
556
variableReads = 222 ,
@@ -581,8 +581,8 @@ class VMTests extends munit.FunSuite {
581
581
dynamicDispatches = 0 ,
582
582
patternMatches = 0 ,
583
583
branches = 12001 ,
584
- pushedFrames = 16001 ,
585
- poppedFrames = 16001 ,
584
+ pushedFrames = 11001 ,
585
+ poppedFrames = 11001 ,
586
586
allocations = 0 ,
587
587
closures = 0 ,
588
588
variableReads = 0 ,
@@ -593,16 +593,16 @@ class VMTests extends munit.FunSuite {
593
593
)),
594
594
595
595
examplesDir / " benchmarks" / " effect_handlers_bench" / " tree_explore.effekt" -> Some (Summary (
596
- staticDispatches = 3187 ,
596
+ staticDispatches = 3317 ,
597
597
dynamicDispatches = 0 ,
598
- patternMatches = 3490 ,
598
+ patternMatches = 2380 ,
599
599
branches = 3167 ,
600
- pushedFrames = 5357 ,
601
- poppedFrames = 6957 ,
602
- allocations = 2556 ,
600
+ pushedFrames = 2697 ,
601
+ poppedFrames = 4297 ,
602
+ allocations = 1446 ,
603
603
closures = 0 ,
604
- variableReads = 2051 ,
605
- variableWrites = 1430 ,
604
+ variableReads = 941 ,
605
+ variableWrites = 630 ,
606
606
resets = 10 ,
607
607
shifts = 310 ,
608
608
resumes = 620
@@ -630,9 +630,9 @@ class VMTests extends munit.FunSuite {
630
630
staticDispatches = 19 ,
631
631
dynamicDispatches = 335 ,
632
632
patternMatches = 706 ,
633
- branches = 285 ,
634
- pushedFrames = 453 ,
635
- poppedFrames = 453 ,
633
+ branches = 247 ,
634
+ pushedFrames = 372 ,
635
+ poppedFrames = 372 ,
636
636
allocations = 174 ,
637
637
closures = 39 ,
638
638
variableReads = 0 ,
@@ -661,11 +661,11 @@ class VMTests extends munit.FunSuite {
661
661
examplesDir / " casestudies" / " scheduler.effekt.md" -> Some (Summary (
662
662
staticDispatches = 60 ,
663
663
dynamicDispatches = 7 ,
664
- patternMatches = 95 ,
664
+ patternMatches = 80 ,
665
665
branches = 41 ,
666
- pushedFrames = 74 ,
667
- poppedFrames = 75 ,
668
- allocations = 73 ,
666
+ pushedFrames = 56 ,
667
+ poppedFrames = 57 ,
668
+ allocations = 58 ,
669
669
closures = 7 ,
670
670
variableReads = 29 ,
671
671
variableWrites = 18 ,
@@ -675,13 +675,13 @@ class VMTests extends munit.FunSuite {
675
675
)),
676
676
677
677
examplesDir / " casestudies" / " lexer.effekt.md" -> Some (Summary (
678
- staticDispatches = 245 ,
678
+ staticDispatches = 343 ,
679
679
dynamicDispatches = 18 ,
680
- patternMatches = 298 ,
680
+ patternMatches = 205 ,
681
681
branches = 405 ,
682
- pushedFrames = 520 ,
683
- poppedFrames = 520 ,
684
- allocations = 202 ,
682
+ pushedFrames = 194 ,
683
+ poppedFrames = 194 ,
684
+ allocations = 109 ,
685
685
closures = 27 ,
686
686
variableReads = 164 ,
687
687
variableWrites = 51 ,
@@ -691,13 +691,13 @@ class VMTests extends munit.FunSuite {
691
691
)),
692
692
693
693
examplesDir / " casestudies" / " parser.effekt.md" -> Some (Summary (
694
- staticDispatches = 8845 ,
694
+ staticDispatches = 12887 ,
695
695
dynamicDispatches = 783 ,
696
- patternMatches = 13502 ,
697
- branches = 14892 ,
698
- pushedFrames = 20836 ,
699
- poppedFrames = 20812 ,
700
- allocations = 7923 ,
696
+ patternMatches = 9464 ,
697
+ branches = 14696 ,
698
+ pushedFrames = 7598 ,
699
+ poppedFrames = 7574 ,
700
+ allocations = 3885 ,
701
701
closures = 521 ,
702
702
variableReads = 6742 ,
703
703
variableWrites = 1901 ,
@@ -707,13 +707,13 @@ class VMTests extends munit.FunSuite {
707
707
)),
708
708
709
709
examplesDir / " casestudies" / " anf.effekt.md" -> Some (Summary (
710
- staticDispatches = 4775 ,
710
+ staticDispatches = 6925 ,
711
711
dynamicDispatches = 443 ,
712
- patternMatches = 7272 ,
713
- branches = 8110 ,
714
- pushedFrames = 11348 ,
715
- poppedFrames = 11335 ,
716
- allocations = 4317 ,
712
+ patternMatches = 5128 ,
713
+ branches = 8018 ,
714
+ pushedFrames = 4310 ,
715
+ poppedFrames = 4297 ,
716
+ allocations = 2173 ,
717
717
closures = 358 ,
718
718
variableReads = 4080 ,
719
719
variableWrites = 1343 ,
@@ -723,13 +723,13 @@ class VMTests extends munit.FunSuite {
723
723
)),
724
724
725
725
examplesDir / " casestudies" / " inference.effekt.md" -> Some (Summary (
726
- staticDispatches = 1457444 ,
726
+ staticDispatches = 1457454 ,
727
727
dynamicDispatches = 3201452 ,
728
- patternMatches = 1474290 ,
728
+ patternMatches = 1474254 ,
729
729
branches = 303298 ,
730
- pushedFrames = 3212277 ,
731
- poppedFrames = 2346982 ,
732
- allocations = 4626007 ,
730
+ pushedFrames = 2914407 ,
731
+ poppedFrames = 2049112 ,
732
+ allocations = 4625971 ,
733
733
closures = 865541 ,
734
734
variableReads = 2908620 ,
735
735
variableWrites = 1453663 ,
@@ -739,13 +739,13 @@ class VMTests extends munit.FunSuite {
739
739
)),
740
740
741
741
examplesDir / " pos" / " raytracer.effekt" -> Some (Summary (
742
- staticDispatches = 79696 ,
742
+ staticDispatches = 91784 ,
743
743
dynamicDispatches = 0 ,
744
- patternMatches = 795964 ,
745
- branches = 71995 ,
746
- pushedFrames = 127131 ,
747
- poppedFrames = 127131 ,
748
- allocations = 103221 ,
744
+ patternMatches = 771652 ,
745
+ branches = 65951 ,
746
+ pushedFrames = 51235 ,
747
+ poppedFrames = 51235 ,
748
+ allocations = 78909 ,
749
749
closures = 0 ,
750
750
variableReads = 77886 ,
751
751
variableWrites = 26904 ,
@@ -761,8 +761,8 @@ class VMTests extends munit.FunSuite {
761
761
dynamicDispatches = 0 ,
762
762
patternMatches = 0 ,
763
763
branches = 11 ,
764
- pushedFrames = 2 ,
765
- poppedFrames = 2 ,
764
+ pushedFrames = 1 ,
765
+ poppedFrames = 1 ,
766
766
allocations = 0 ,
767
767
closures = 0 ,
768
768
variableReads = 61 ,
@@ -793,8 +793,8 @@ class VMTests extends munit.FunSuite {
793
793
dynamicDispatches = 9009 ,
794
794
patternMatches = 30052 ,
795
795
branches = 3003 ,
796
- pushedFrames = 15027 ,
797
- poppedFrames = 15027 ,
796
+ pushedFrames = 12024 ,
797
+ poppedFrames = 12024 ,
798
798
allocations = 24060 ,
799
799
closures = 12030 ,
800
800
variableReads = 24048 ,
0 commit comments