forked from ecraven/r7rs-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.Femtolisp
1517 lines (1402 loc) · 89.3 KB
/
results.Femtolisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
****************************
Benchmarking Femtolisp on Sat 6 Jul 04:12:55 CEST 2024 under Linux h4nex 6.9.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000 x86_64 GNU/Linux
Testing browse under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/browse.scm /tmp/r7rs-benchmarks/Femtolisp/browse.scm
Running...
Running browse:2000
type error: get: expected table, got |837|
in file /tmp/r7rs-benchmarks/Femtolisp/browse.scm
#0 (investigate/lambda/lambda/lambda/lambda/lambda
#0=#fn(#1="9000r1|\x8540];e0i10M|M_332~|N41;" #2=[my-match] [#0#
[#8=((*a ?b *b ?b
a *a a *b
*a)
(*a *b *b *a
(*a) (*b))
(? ? * (b a)
* ? ?)) #3=[#fn(#4="7000r1|\x8540];c0q]312~|N41;" #5=[#fn("9000r1c0qm02|c1i20Mc23241;" [#fn(#1# #2#)
#fn(get) pattern])] #3#) [#7=(|837| |177| |1090| |617| |661| |749| |628| |56|
|826| |408| |1035| |474| |320| |452| |672| |991|
|155| |122| |793| |221| |716| |727| |848| |309|
|144| |936| |100| |881| |287| |430| |23| |771|
|232| |804| |958| |650| |1068| |1057| |463| |276|
|1046| |1002| |199| |34| |738| |210| |540| |397|
|342| |364| |782| |683| |89| |375| |166| |595|
|892| |705| |507| |639| |331| |188| |243| |441|
|1013| |1079| |67| |298| |386| |573| |859| |133|
|760| |12| |529| |815| |111| |496| |45| |265|
|925| |903| |254| |78| |551| |606| |485| |518|
|419| |870| |562| |1| |353| |980| |694| |914|
|969| |947| |584| |1024|)
#6=[#fn("7000r1|\x8540];c0q]312~|N41;" [#fn("7000r1c0qm02|i2141;" [#fn(#4# #5#)])] #6#)
[#7# #8# ()]]]]]]))
#1 (investigate/lambda/lambda/lambda/lambda
((*a ?b *b ?b a *a a *b *a)
(*a *b *b *a (*a) (*b)) (? ? * (b a) * ? ?)))
#2 (investigate/lambda/lambda
(|837| |177| |1090| |617| |661| |749| |628| |56| |826| |408| |1035| |474| |320|
|452| |672| |991| |155| |122| |793| |221| |716| |727| |848| |309| |144| |936|
|100| |881| |287| |430| |23| |771| |232| |804| |958| |650| |1068| |1057| |463|
|276| |1046| |1002| |199| |34| |738| |210| |540| |397| |342| |364| |782| |683|
|89| |375| |166| |595| |892| |705| |507| |639| |331| |188| |243| |441| |1013|
|1079| |67| |298| |386| |573| |859| |133| |760| |12| |529| |815| |111| |496|
|45| |265| |925| |903| |254| |78| |551| |606| |485| |518| |419| |870| |562|
|1| |353| |980| |694| |914| |969| |947| |584| |1024|))
#3 (browse ((*a ?b *b ?b a *a a *b *a)
(*a *b *b *a (*a) (*b)) (? ? * (b a) * ? ?)))
real 0m0.021s
user 0m0.014s
sys 0m0.007s
+!CSVLINE!+femtolisp,browse,CRASHED
Testing deriv under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/deriv.scm /tmp/r7rs-benchmarks/Femtolisp/deriv.scm
Running...
Running deriv:10000000
Elapsed time: 8.007735013961792 seconds (8.0079999999999991) for deriv:10000000
+!CSVLINE!+femtolisp-unknown,deriv:10000000,8.007735013961792
real 0m8.030s
user 0m8.019s
sys 0m0.007s
Testing destruc under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/destruc.scm /tmp/r7rs-benchmarks/Femtolisp/destruc.scm
Running...
Running destruc:600:50:4000
Elapsed time: 22.7921340465545654 seconds (22.7920000000000016) for destruc:600:50:4000
+!CSVLINE!+femtolisp-unknown,destruc:600:50:4000,22.7921340465545654
real 0m22.808s
user 0m22.791s
sys 0m0.007s
Testing diviter under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/diviter.scm /tmp/r7rs-benchmarks/Femtolisp/diviter.scm
Running...
Running diviter:1000:1000000
Elapsed time: 15.9912099838256836 seconds (15.9909999999999997) for diviter:1000:1000000
+!CSVLINE!+femtolisp-unknown,diviter:1000:1000000,15.9912099838256836
real 0m16.006s
user 0m15.994s
sys 0m0.003s
Testing divrec under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/divrec.scm /tmp/r7rs-benchmarks/Femtolisp/divrec.scm
Running...
Running divrec:1000:1000000
Elapsed time: 15.5717918872833252 seconds (15.5719999999999992) for divrec:1000:1000000
+!CSVLINE!+femtolisp-unknown,divrec:1000:1000000,15.5717918872833252
real 0m15.584s
user 0m15.569s
sys 0m0.007s
Testing puzzle under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/puzzle.scm /tmp/r7rs-benchmarks/Femtolisp/puzzle.scm
Running...
Running puzzle:1000
Elapsed time: 58.1809449195861816 seconds (58.1809999999999974) for puzzle:1000
+!CSVLINE!+femtolisp-unknown,puzzle:1000,58.1809449195861816
real 0m58.199s
user 0m58.168s
sys 0m0.003s
Testing triangl under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/triangl.scm /tmp/r7rs-benchmarks/Femtolisp/triangl.scm
Running...
Running triangl:22:1:50
Elapsed time: 29.9217531681060791 seconds (29.9220000000000006) for triangl:22:1:50
+!CSVLINE!+femtolisp-unknown,triangl:22:1:50,29.9217531681060791
real 0m29.938s
user 0m29.918s
sys 0m0.003s
Testing tak under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/tak.scm /tmp/r7rs-benchmarks/Femtolisp/tak.scm
Running...
Running tak:40:20:11:1
Elapsed time: 19.0455899238586426 seconds (19.0459999999999994) for tak:40:20:11:1
+!CSVLINE!+femtolisp-unknown,tak:40:20:11:1,19.0455899238586426
real 0m19.061s
user 0m19.051s
sys 0m0.000s
Testing takl under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/takl.scm /tmp/r7rs-benchmarks/Femtolisp/takl.scm
Running...
Running takl:40:20:12:1
Elapsed time: 65.3934998512268066 seconds (65.3930000000000007) for takl:40:20:12:1
+!CSVLINE!+femtolisp-unknown,takl:40:20:12:1,65.3934998512268066
real 1m5.410s
user 1m5.372s
sys 0m0.004s
Testing ntakl under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/ntakl.scm /tmp/r7rs-benchmarks/Femtolisp/ntakl.scm
Running...
Running ntakl:40:20:12:1
Elapsed time: 50.5690619945526123 seconds (50.5690000000000026) for ntakl:40:20:12:1
+!CSVLINE!+femtolisp-unknown,ntakl:40:20:12:1,50.5690619945526123
real 0m50.585s
user 0m50.559s
sys 0m0.003s
Testing cpstak under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/cpstak.scm /tmp/r7rs-benchmarks/Femtolisp/cpstak.scm
Running...
Running cpstak:40:20:11:1
Elapsed time: 36.806574821472168 seconds (36.8070000000000022) for cpstak:40:20:11:1
+!CSVLINE!+femtolisp-unknown,cpstak:40:20:11:1,36.806574821472168
real 0m36.823s
user 0m36.798s
sys 0m0.003s
Testing ctak under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/ctak.scm /tmp/r7rs-benchmarks/Femtolisp/ctak.scm
Running...
Running ctak:32:16:8:1
Elapsed time: 8.8125109672546387 seconds (8.8130000000000006) for ctak:32:16:8:1
+!CSVLINE!+femtolisp-unknown,ctak:32:16:8:1,8.8125109672546387
real 0m8.834s
user 0m8.829s
sys 0m0.000s
Testing fib under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/fib.scm /tmp/r7rs-benchmarks/Femtolisp/fib.scm
Running...
Running fib:40:5
Elapsed time: 38.2736449241638184 seconds (38.2740000000000009) for fib:40:5
+!CSVLINE!+femtolisp-unknown,fib:40:5,38.2736449241638184
real 0m38.295s
user 0m38.271s
sys 0m0.007s
Testing fibc under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/fibc.scm /tmp/r7rs-benchmarks/Femtolisp/fibc.scm
Running...
Running fibc:30:10
Elapsed time: 10.5044529438018799 seconds (10.5039999999999996) for fibc:30:10
+!CSVLINE!+femtolisp-unknown,fibc:30:10,10.5044529438018799
real 0m10.519s
user 0m10.513s
sys 0m0.000s
Testing fibfp under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/fibfp.scm /tmp/r7rs-benchmarks/Femtolisp/fibfp.scm
Running...
Running fibfp:35:10
Elapsed time: 14.5624179840087891 seconds (14.5619999999999994) for fibfp:35:10
+!CSVLINE!+femtolisp-unknown,fibfp:35:10,14.5624179840087891
real 0m14.578s
user 0m14.571s
sys 0m0.000s
Testing sum under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/sum.scm /tmp/r7rs-benchmarks/Femtolisp/sum.scm
Running...
Running sum:10000:200000
Elapsed time: 42.376431941986084 seconds (42.3759999999999977) for sum:10000:200000
+!CSVLINE!+femtolisp-unknown,sum:10000:200000,42.376431941986084
real 0m42.391s
user 0m42.354s
sys 0m0.004s
Testing sumfp under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/sumfp.scm /tmp/r7rs-benchmarks/Femtolisp/sumfp.scm
Running...
Running sumfp:1000000:500
Elapsed time: 27.7762219905853271 seconds (27.7759999999999998) for sumfp:1000000:500
+!CSVLINE!+femtolisp-unknown,sumfp:1000000:500,27.7762219905853271
real 0m27.792s
user 0m27.773s
sys 0m0.003s
Testing fft under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/fft.scm /tmp/r7rs-benchmarks/Femtolisp/fft.scm
Running...
Running fft:65536:100
Elapsed time: 39.8088409900665283 seconds (39.8089999999999975) for fft:65536:100
+!CSVLINE!+femtolisp-unknown,fft:65536:100,39.8088409900665283
real 0m39.826s
user 0m39.785s
sys 0m0.007s
Testing mbrot under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/mbrot.scm /tmp/r7rs-benchmarks/Femtolisp/mbrot.scm
Running...
arg-error: apply: too few arguments
in file /tmp/r7rs-benchmarks/Femtolisp/mbrot.scm
#0 (count #fn("6000r1|A@;" []) ((loop2) (y) (loop1)
(matrix r i step n) ()))
#1 (compile-sym/lambda (3 . 0))
#2 (for-each/lambda #0=#fn(":000r2}MF6I0|c0c1}32Q22~|c0c2}3242;];" [#fn(map) #.car
#.cdr] [#0#
[#fn(":000r1e0~\x7f^|44;" [compile-in] [[(0 3 loadc 2 loadg 1 loadg #:g117
brf 2 call load0 loada0 0 loadg 1
argc)
#table(vector-set! 1 >= 0 vector-ref 2)
3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix r i step n) ()) #1=(matrix
x) ()]) #1# () ()]] for-each-n))
#3 (compile-arglist [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix r i step n) ())
(matrix x))
#4 (compile-app/lambda/lambda/lambda
#f)
#5 (for-each/lambda #0=#fn(":000r2}MF6I0|c0c1}32Q22~|c0c2}3242;];" [#fn(map) #.car
#.cdr] [#0#
[#fn(":000r1e0~\x7f^|44;" [compile-in] [[(0 3 loadc 2 loadg 1 loadg #:g117
brf 2 call load0 loada0 0 loadg 1
argc)
#table(vector-set! 1 >= 0 vector-ref 2)
3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix r i step n) ())
#1=((vector-ref matrix x)
y (count r i step x y)) ()])
#1# () ()]] for-each-n))
#6 (compile-arglist [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix r i step n) ())
((vector-ref matrix x)
y (count r i step x y)))
#7 (compile-app/lambda/lambda/lambda
#f)
#8 (compile-begin [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix r i step n) ())
#t ((vector-set! (vector-ref matrix x) y
(count r i step x y))
(loop2 (- x 1))))
#9 (compile-if/lambda #:g117 #:g118
(>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))
#10 (lambda/lambda/lambda/lambda/lambda/lambda
())
#11 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(1 argc)
#table() 0 +inf.0]
((loop2) (y) (loop1)
(matrix r i
step n)
()) #f (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#12 (compile-in/lambda set!)
#13 (compile-begin [(1 argc) #table() 0 +inf.0]
((loop2) (y) (loop1)
(matrix r i step n) ())
#t ((set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref matrix x)
y (count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2))
#14 (lambda/lambda/lambda/lambda/lambda/lambda
())
#15 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(#:g115 brf 2 call
load0 loada0 0 loadg
1 argc)
#table(>= 0) 1 +inf.0]
((y) (loop1)
(matrix r i step
n)
()) #f (lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#16 (compile-app/lambda/lambda/lambda
#f)
#17 (compile-app/lambda/lambda/lambda
#f)
#18 (compile-if/lambda #:g115 #:g116
(>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)
#19 (lambda/lambda/lambda/lambda/lambda/lambda
())
#20 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(1 argc)
#table() 0 +inf.0]
((loop1) (matrix r i
step n)
()) #f (lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count r i
step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#21 (compile-in/lambda set!)
#22 (compile-begin [(1 argc) #table() 0 +inf.0]
((loop1) (matrix r i step n) ()) #t ((set! loop1 (lambda (y)
(if (>= y 0)
(begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix
x)
y (count r i step
x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1))
#23 (lambda/lambda/lambda/lambda/lambda/lambda
())
#24 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(5 argc)
#table() 0 +inf.0]
((matrix r i step n)
()) #f (lambda (loop1)
(set! loop1
(lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count r i
step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#25 (compile-app/lambda/lambda/lambda
#f)
#26 (compile-app/lambda/lambda/lambda
#f)
#27 (lambda/lambda/lambda/lambda/lambda/lambda
())
#28 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(0 argc)
#table() 0 +inf.0] (())
#f (lambda (matrix r
i step n)
(((lambda (loop1)
(set! loop1
(lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count r i
step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1)
#t)
(- n 1)) . mbrot)
()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#29 (compile-in/lambda set!)
#30 (lambda/lambda/lambda/lambda/lambda/lambda
())
#31 (lambda #fn("8000r0e0~\x7f42;" [compile-f-] [() (lambda ()
(define (mbrot matrix r i
step n)
(((lambda (loop1)
(set! loop1 (lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count r i
step x y))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1)
#t)
(- n 1))) . #:g0) ()])
#fn("6000r2|;" []))
#32 (eval (define (mbrot matrix r i step n)
(let loop1 ((y (- n 1)))
(when (>= y 0) (let loop2 ((x (- n 1)))
(if (>= x 0)
(begin (vector-set! (vector-ref matrix x)
y (count r i step x y))
(loop2 (- x 1)))
(loop1 (- y 1))))))))
real 0m0.020s
user 0m0.021s
sys 0m0.000s
+!CSVLINE!+femtolisp,mbrot,CRASHED
Testing mbrotZ under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/mbrotZ.scm /tmp/r7rs-benchmarks/Femtolisp/mbrotZ.scm
Running...
arg-error: apply: too few arguments
in file /tmp/r7rs-benchmarks/Femtolisp/mbrotZ.scm
#0 (count #fn("6000r1|A@;" []) ((loop2) (y) (loop1)
(matrix z0 step n) ()))
#1 (compile-sym/lambda (3 . 0))
#2 (for-each/lambda #0=#fn(":000r2}MF6I0|c0c1}32Q22~|c0c2}3242;];" [#fn(map) #.car
#.cdr] [#0#
[#fn(":000r1e0~\x7f^|44;" [compile-in] [[(0 3 loadc 2 loadg 1 loadg #:g117
brf 2 call load0 loada0 0 loadg 1
argc)
#table(vector-set! 1 >= 0 vector-ref 2)
3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix z0 step n) ()) #1=(matrix
x) ()]) #1# () ()]] for-each-n))
#3 (compile-arglist [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix z0 step n) ())
(matrix x))
#4 (compile-app/lambda/lambda/lambda
#f)
#5 (for-each/lambda #0=#fn(":000r2}MF6I0|c0c1}32Q22~|c0c2}3242;];" [#fn(map) #.car
#.cdr] [#0#
[#fn(":000r1e0~\x7f^|44;" [compile-in] [[(0 3 loadc 2 loadg 1 loadg #:g117
brf 2 call load0 loada0 0 loadg 1
argc)
#table(vector-set! 1 >= 0 vector-ref 2)
3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix z0 step n) ())
#1=((vector-ref matrix x)
y (count z0 step
(make-rectangular (inexact
x)
(inexact y)))) ()]) #1# () ()]] for-each-n))
#6 (compile-arglist [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix z0 step n) ())
((vector-ref matrix x)
y (count z0 step
(make-rectangular (inexact x) (inexact y)))))
#7 (compile-app/lambda/lambda/lambda
#f)
#8 (compile-begin [(0 3 loadc 2 loadg 1 loadg #:g117 brf 2 call load0 loada0 0
loadg 1 argc) #table(vector-set! 1 >= 0 vector-ref 2) 3 +inf.0]
((x) (loop2) (y) (loop1)
(matrix z0 step n) ())
#t ((vector-set! (vector-ref matrix x) y
(count z0 step
(make-rectangular (inexact x) (inexact
y))))
(loop2 (- x 1))))
#9 (compile-if/lambda #:g117 #:g118
(>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count z0 step
(make-rectangular (inexact
x)
(inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))
#10 (lambda/lambda/lambda/lambda/lambda/lambda
())
#11 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(1 argc)
#table() 0 +inf.0]
((loop2) (y) (loop1)
(matrix z0
step n)
()) #f (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count z0 step
(make-rectangular (inexact x) (inexact
y))))
(loop2 (- x 1)))
(loop1 (- y 1)))) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#12 (compile-in/lambda set!)
#13 (compile-begin [(1 argc) #table() 0 +inf.0]
((loop2) (y) (loop1)
(matrix z0 step n) ())
#t ((set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref matrix x)
y (count z0 step
(make-rectangular
(inexact x)
(inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2))
#14 (lambda/lambda/lambda/lambda/lambda/lambda
())
#15 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(#:g115 brf 2 call
load0 loada0 0 loadg
1 argc)
#table(>= 0) 1 +inf.0]
((y) (loop1)
(matrix z0 step
n)
()) #f (lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix x) y
(count z0 step
(make-rectangular (inexact
x)
(inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#16 (compile-app/lambda/lambda/lambda
#f)
#17 (compile-app/lambda/lambda/lambda
#f)
#18 (compile-if/lambda #:g115 #:g116
(>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count z0 step
(make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)
#19 (lambda/lambda/lambda/lambda/lambda/lambda
())
#20 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(1 argc)
#table() 0 +inf.0]
((loop1) (matrix z0
step n)
()) #f (lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count z0
step (make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#21 (compile-in/lambda set!)
#22 (compile-begin [(1 argc) #table() 0 +inf.0]
((loop1) (matrix z0 step n) ()) #t ((set! loop1 (lambda (y)
(if (>= y 0)
(begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0) (begin (vector-set! (vector-ref matrix
x)
y (count z0 step
(make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1))
#23 (lambda/lambda/lambda/lambda/lambda/lambda
())
#24 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(4 argc)
#table() 0 +inf.0]
((matrix z0 step n)
()) #f (lambda (loop1)
(set! loop1
(lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count z0
step (make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1) ()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#25 (compile-app/lambda/lambda/lambda
#f)
#26 (compile-app/lambda/lambda/lambda
#f)
#27 (lambda/lambda/lambda/lambda/lambda/lambda
())
#28 (lambda #fn("8000r0e0i11i1342;" [compile-f-] #0=[lambda [[(0 argc)
#table() 0 +inf.0] (())
#f (lambda (matrix z0
step n)
(((lambda (loop1)
(set! loop1
(lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count z0
step (make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1)
#t)
(- n 1)) . mbrot)
()]])
#fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" [emit loadv
bcode:cdepth nnn
closure] #0#))
#29 (compile-in/lambda set!)
#30 (lambda/lambda/lambda/lambda/lambda/lambda
())
#31 (lambda #fn("8000r0e0~\x7f42;" [compile-f-] [() (lambda ()
(define (mbrot matrix z0 step
n)
(((lambda (loop1)
(set! loop1 (lambda (y)
(if (>= y 0) (begin (((lambda (loop2)
(set! loop2 (lambda (x)
(if (>= x 0)
(begin (vector-set! (vector-ref
matrix x)
y (count z0
step (make-rectangular (inexact x) (inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1)))))
loop2)
#t)
(- n 1)))
#f)))
loop1)
#t)
(- n 1))) . #:g0) ()])
#fn("6000r2|;" []))
#32 (eval (define (mbrot matrix z0 step n)
(let loop1 ((y (- n 1)))
(when (>= y 0) (let loop2 ((x (- n 1)))
(if (>= x 0)
(begin (vector-set! (vector-ref matrix x)
y (count z0 step
(make-rectangular
(inexact x)
(inexact y))))
(loop2 (- x 1)))
(loop1 (- y 1))))))))
real 0m0.021s
user 0m0.021s
sys 0m0.000s
+!CSVLINE!+femtolisp,mbrotZ,CRASHED
Testing nucleic under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/nucleic.scm /tmp/r7rs-benchmarks/Femtolisp/nucleic.scm
Running...
Running nucleic:50
Elapsed time: 19.5119540691375732 seconds (19.5120000000000005) for nucleic:50
+!CSVLINE!+femtolisp-unknown,nucleic:50,19.5119540691375732
real 0m19.581s
user 0m19.565s
sys 0m0.000s
Testing pi under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/pi.scm /tmp/r7rs-benchmarks/Femtolisp/pi.scm
Running...
parse-error: read: overflow in numeric constant 314159265358979323846264338327950288419716939937507
in file /tmp/r7rs-benchmarks/Femtolisp/pi.scm
real 0m0.013s
user 0m0.013s
sys 0m0.000s
+!CSVLINE!+femtolisp,pi,CRASHED
Testing pnpoly under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/pnpoly.scm /tmp/r7rs-benchmarks/Femtolisp/pnpoly.scm
Running...
Running pnpoly:1000000
Elapsed time: 72.7243530750274658 seconds (72.7240000000000038) for pnpoly:1000000
+!CSVLINE!+femtolisp-unknown,pnpoly:1000000,72.7243530750274658
real 1m12.741s
user 1m12.689s
sys 0m0.010s
Testing ray under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/ray.scm /tmp/r7rs-benchmarks/Femtolisp/ray.scm
Running...
Running ray:50
Elapsed time: 23.3761491775512695 seconds (23.3760000000000012) for ray:50
+!CSVLINE!+femtolisp-unknown,ray:50,23.3761491775512695
real 0m23.399s
user 0m23.383s
sys 0m0.003s
Testing simplex under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/simplex.scm /tmp/r7rs-benchmarks/Femtolisp/simplex.scm
Running...
Running simplex:1000000
Elapsed time: 65.7802560329437256 seconds (65.7800000000000011) for simplex:1000000
+!CSVLINE!+femtolisp-unknown,simplex:1000000,65.7802560329437256
real 1m5.801s
user 1m5.761s
sys 0m0.003s
Testing ack under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/ack.scm /tmp/r7rs-benchmarks/Femtolisp/ack.scm
Running...
Running ack:3:12:2
Elapsed time: 37.1311471462249756 seconds (37.1310000000000002) for ack:3:12:2
+!CSVLINE!+femtolisp-unknown,ack:3:12:2,37.1311471462249756
real 0m37.146s
user 0m37.120s
sys 0m0.003s
Testing array1 under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/array1.scm /tmp/r7rs-benchmarks/Femtolisp/array1.scm
Running...
Running array1:1000000:500
Elapsed time: 47.0494229793548584 seconds (47.0489999999999995) for array1:1000000:500
+!CSVLINE!+femtolisp-unknown,array1:1000000:500,47.0494229793548584
real 0m47.066s
user 0m47.016s
sys 0m0.007s
Testing string under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/string.scm /tmp/r7rs-benchmarks/Femtolisp/string.scm
Running...
Running string:500000:100
Elapsed time: 3.3008852005004883 seconds (3.3010000000000002) for string:500000:100
+!CSVLINE!+femtolisp-unknown,string:500000:100,3.3008852005004883
real 0m3.324s
user 0m3.168s
sys 0m0.150s
Testing sum1 under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/sum1.scm /tmp/r7rs-benchmarks/Femtolisp/sum1.scm
Running...
Running sum1:25
Elapsed time: 0.642568826675415 seconds (0.643) for sum1:25
+!CSVLINE!+femtolisp-unknown,sum1:25,0.642568826675415
real 0m0.664s
user 0m0.663s
sys 0m0.001s
Testing cat under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/cat.scm /tmp/r7rs-benchmarks/Femtolisp/cat.scm
Running...
Running cat:50
Elapsed time: 20.8136880397796631 seconds (20.8140000000000001) for cat:50
+!CSVLINE!+femtolisp-unknown,cat:50,20.8136880397796631
real 0m20.829s
user 0m20.739s
sys 0m0.077s
Testing tail under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/tail.scm /tmp/r7rs-benchmarks/Femtolisp/tail.scm
Running...
Running tail:50
Elapsed time: 0.6013047695159912 seconds (0.601) for tail:50
+!CSVLINE!+femtolisp-unknown,tail:50,0.6013047695159912
real 0m0.624s
user 0m0.572s
sys 0m0.050s
Testing wc under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/wc.scm /tmp/r7rs-benchmarks/Femtolisp/wc.scm
Running...
Running wc:inputs/bib:50
Elapsed time: 28.6107831001281738 seconds (28.6110000000000007) for wc:inputs/bib:50
+!CSVLINE!+femtolisp-unknown,wc:inputs/bib:50,28.6107831001281738
real 0m28.633s
user 0m28.575s
sys 0m0.040s
Testing read1 under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/read1.scm /tmp/r7rs-benchmarks/Femtolisp/read1.scm
Running...
Running read1:2500
Elapsed time: 1.104578971862793 seconds (1.105) for read1:2500
+!CSVLINE!+femtolisp-unknown,read1:2500,1.104578971862793
real 0m1.120s
user 0m1.100s
sys 0m0.020s
Testing compiler under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm
Compiling...
femtolisp_comp /tmp/r7rs-benchmarks/Femtolisp/compiler.scm /tmp/r7rs-benchmarks/Femtolisp/compiler.scm
Running...
eval: variable string-set! has no value
in file /tmp/r7rs-benchmarks/Femtolisp/compiler.scm
#0 (string->canonical-symbol/lambda/lambda/lambda
"QUOTE" " " 4)
#1 (lambda)
real 0m0.022s
user 0m0.015s
sys 0m0.007s
+!CSVLINE!+femtolisp,compiler,CRASHED
Testing conform under Femtolisp
Including prelude /home/nex/src/r7rs-benchmarks/src/Femtolisp-prelude.scm