-
Notifications
You must be signed in to change notification settings - Fork 1
/
data.js
20154 lines (20154 loc) · 631 KB
/
data.js
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
window.BENCHMARK_DATA = {
"lastUpdate": 1733243780542,
"repoUrl": "https://github.com/sysprog21/rv32emu",
"entries": {
"Benchmarks": [
{
"commit": {
"author": {
"name": "ChinYikMing",
"username": "ChinYikMing",
"email": "[email protected]"
},
"committer": {
"name": "GitHub",
"username": "web-flow",
"email": "[email protected]"
},
"id": "fca53fadb8890cf51269acb400433a735dfe368f",
"message": "CI: Implementing benchmark regression tests (#213)\n\nThe 'pull_request_target' event is utilized for the benchmark action due\r\nto its ability to update data in the 'gh-pages' branch, which is crucial\r\nfor visualization on GitHub Pages. The 'pull_request' event lacks the\r\nnecessary 'GITHUB_TOKEN' for this task.\r\n\r\nFurthermore, 'workflow_dispatch' event is added to enable the initial\r\nsetup and running of the benchmark. This permits the storage of base\r\nbenchmark data for future comparisons.\r\n\r\nTo prevent redundant executions, a filter has been implemented to\r\nexclude the merging push event.\r\n\r\nClose #166",
"timestamp": "2023-09-11T12:20:34Z",
"url": "https://github.com/sysprog21/rv32emu/commit/fca53fadb8890cf51269acb400433a735dfe368f"
},
"date": 1694435116147,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1070.62,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 974.595,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "6262b3182f0b1b8ea089f33e0defcd53f3d7bf76",
"message": "Get rid of rv->X[rv_reg_zero] = 0 completely",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/216/commits/6262b3182f0b1b8ea089f33e0defcd53f3d7bf76"
},
"date": 1694510144460,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1186.25,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 981.191,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "33c2156c179efbebf28abde7a9e6f4ea1bdea5a5",
"message": "Link the register jump",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/224/commits/33c2156c179efbebf28abde7a9e6f4ea1bdea5a5"
},
"date": 1695541718076,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1045.5,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 951.842,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "cd71ee323d1e0fe44377e6ffdf05580e779377b5",
"message": "Link the register jump",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/224/commits/cd71ee323d1e0fe44377e6ffdf05580e779377b5"
},
"date": 1695543084786,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1207.66,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 994.537,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "YenFuChen",
"username": "qwe661234"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "ab3e58a20db5bfad2adb9bb90838a4ae5b7b649a",
"message": "Link the register jump (#224)\n\nThe interpreter exited the execution loop when encountering a register\r\njump instruction, resulting in a significant performance problem. To\r\ntackle this issue, the solution involves searching for the subsequent\r\nblock at the conclusion of a register jump's execution. Upon locating\r\nthe next block, the register jump is linked to it.\r\n\r\nAs shown in below analysis, this modification improves the overall\r\nperformance by 1~2%.\r\n\r\n* Core i7-11700\r\n\r\n| Metric | original | proposed | speedup |\r\n|----------+-----------------+----------------+---------|\r\n| CoreMark | 1931.047 iter/s | 1956.64 iter/s | +1.33% |\r\n| stream | 79.156 sec | 77.123 sec | +2.57% |\r\n\r\nClose #223",
"timestamp": "2023-09-24T16:20:55+08:00",
"tree_id": "b0d9fc03a4811a7c371b83cb5dfcaee487649bed",
"url": "https://github.com/sysprog21/rv32emu/commit/ab3e58a20db5bfad2adb9bb90838a4ae5b7b649a"
},
"date": 1695544035970,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1213.87,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1131.669,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "a39abe45c4f2b40cb80ba025fabe2687f82ed189",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/a39abe45c4f2b40cb80ba025fabe2687f82ed189"
},
"date": 1695559890230,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1232.62,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 999.025,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "7a209983ebc593c087044412fa9fcd4f1766fe77",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/7a209983ebc593c087044412fa9fcd4f1766fe77"
},
"date": 1695560208143,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1253,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1134.029,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "46123602d0c3fa4f43033458580ca0ef0f3c0c1a",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/46123602d0c3fa4f43033458580ca0ef0f3c0c1a"
},
"date": 1695561981005,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1263.37,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1132.121,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "4dbfe8d9bcfd55119315affc3503d8fe80e199e1",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/4dbfe8d9bcfd55119315affc3503d8fe80e199e1"
},
"date": 1695562130177,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1274,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1133.984,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "b7af0156ca6efb9b957dac11e67f243b2342ad72",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/b7af0156ca6efb9b957dac11e67f243b2342ad72"
},
"date": 1695625035711,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1231.75,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1005.696,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "af94d6a74f49b939aa91a36c2ec0dc8fa0bdbdf1",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/af94d6a74f49b939aa91a36c2ec0dc8fa0bdbdf1"
},
"date": 1695625989024,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1077.88,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 914.475,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "05068a9c45492a291adea47342ed9802e04da823",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/05068a9c45492a291adea47342ed9802e04da823"
},
"date": 1695626280655,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1258.77,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1098.546,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "d36f0d6e40cb60c9c2422ead2f8d9b34510b07ec",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/d36f0d6e40cb60c9c2422ead2f8d9b34510b07ec"
},
"date": 1695626775648,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1261.62,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1131.483,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "0d1f7f34f46db47d1ad38d5274155e3a3468d0eb",
"message": "Add a new fusion instruction and remove unnecessary ones ",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/227/commits/0d1f7f34f46db47d1ad38d5274155e3a3468d0eb"
},
"date": 1695626900945,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1226.44,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 998.528,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "1cff7ccfd68c57531ed649dce9de83ec3ed6172f",
"message": "Fix tailcall updating in fused instructions",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/231/commits/1cff7ccfd68c57531ed649dce9de83ec3ed6172f"
},
"date": 1695700049360,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1255.22,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1104.577,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "f0fcaa32100b539d153eef640b1fe29b09294549",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/f0fcaa32100b539d153eef640b1fe29b09294549"
},
"date": 1695701070196,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1076.25,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 964.557,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "54f986f6cd9797b127f7eb4ebc23b656e567317a",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/54f986f6cd9797b127f7eb4ebc23b656e567317a"
},
"date": 1695701165873,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1058.12,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 922.773,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "0746a40275c904b1285913c390f42bf07d0c90b7",
"message": "Fix constant optimization and fused instruction",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/233/commits/0746a40275c904b1285913c390f42bf07d0c90b7"
},
"date": 1695716917801,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1064.77,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 933.034,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "df41cd40c7b7c7defbd54839b1b29c8087f04eb6",
"message": "Fix constant optimization and fused instruction",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/233/commits/df41cd40c7b7c7defbd54839b1b29c8087f04eb6"
},
"date": 1695735011942,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1242.22,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1101.098,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "fa4a4f74551ba9a1de7fa0ea613e1fff3c8de64a",
"message": "Fix constant optimization and fused instruction",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/233/commits/fa4a4f74551ba9a1de7fa0ea613e1fff3c8de64a"
},
"date": 1695736576339,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1248.66,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1103.815,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "7df12b15940ac3dd8facc2a6ceba52216cb4fd24",
"message": "Fix constant optimization and fused instruction",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/233/commits/7df12b15940ac3dd8facc2a6ceba52216cb4fd24"
},
"date": 1695737880075,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1246.66,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1102.866,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "qwe661234",
"username": "qwe661234"
},
"committer": {
"name": "qwe661234",
"username": "qwe661234"
},
"id": "38d663d89fabe54c2a971a49454bf7cc969eea03",
"message": "Limit the memory usage of block and block IR",
"timestamp": "2022-12-07T09:30:00Z",
"url": "https://github.com/sysprog21/rv32emu/pull/234/commits/38d663d89fabe54c2a971a49454bf7cc969eea03"
},
"date": 1695816137995,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1084.62,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1010.928,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "3affb0232abf3879c6fa98ad0ccff55dd5ea44f0",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/3affb0232abf3879c6fa98ad0ccff55dd5ea44f0"
},
"date": 1695826260037,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1132,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1082.705,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "90fa28f05beb71ad693a882029118d9f48bce5b3",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/90fa28f05beb71ad693a882029118d9f48bce5b3"
},
"date": 1696052541557,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1256,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1202.143,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "fe5c2a15413df175bd347ca1f0a61fcc2df5073a",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/fe5c2a15413df175bd347ca1f0a61fcc2df5073a"
},
"date": 1696053289485,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1066,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1015.626,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "babc35f81d14f3596fc18a9afa6cd1d7c1c1b44a",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/babc35f81d14f3596fc18a9afa6cd1d7c1c1b44a"
},
"date": 1696053390887,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1253,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1060.277,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "bb937eadb724cf274c694a2dd1af966e3474a4ec",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/bb937eadb724cf274c694a2dd1af966e3474a4ec"
},
"date": 1696131071127,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1251.5,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1200.252,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"committer": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"distinct": true,
"id": "e5db6a7ff71ca9aade2cf1896e6dd824f3b7bb5c",
"message": "Explain implementation aspects for certain RISC-V instructions",
"timestamp": "2023-10-01T23:00:30+08:00",
"tree_id": "0fd7970eb1692251bea8446db5d9b8e9337b0ed2",
"url": "https://github.com/sysprog21/rv32emu/commit/e5db6a7ff71ca9aade2cf1896e6dd824f3b7bb5c"
},
"date": 1696172879211,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1256.87,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1059.54,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"committer": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"distinct": true,
"id": "a2075748788deb8804b14c96f4b185fecc787c48",
"message": "Inline performance-critical functions in debug builds",
"timestamp": "2023-10-02T11:56:05+08:00",
"tree_id": "06f4637d00e51040ab0c106449063a1edbf29aa1",
"url": "https://github.com/sysprog21/rv32emu/commit/a2075748788deb8804b14c96f4b185fecc787c48"
},
"date": 1696219377671,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1215.62,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 1194.448,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"name": "RinHizakura",
"username": "RinHizakura"
},
"id": "012f117b2b20c63f6b32d9f42421bf1ab08b70ee",
"message": "Reduce memory usage for instruction block",
"timestamp": "2023-02-23T15:04:32Z",
"url": "https://github.com/sysprog21/rv32emu/pull/232/commits/012f117b2b20c63f6b32d9f42421bf1ab08b70ee"
},
"date": 1696241436956,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1046.6,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 987.419,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "RinHizakura",
"username": "RinHizakura"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "00312241db570add3b9948a023e7ebbe2041919f",
"message": "Reduce memory usage for instruction block (#232)\n\nThe original memory allocation strategy for instruction blocks was found\r\nto be inefficient, leading to excessive memory usage. In the previous\r\napproach, a fixed amount of memory was allocated for each block, resulting\r\nin significant wastage.\r\n\r\nTo address this issue, we have implemented a more efficient memory\r\nallocation scheme. Instead of allocating a fixed size for each block, we\r\nnow maintain a pool of rv_insn_t and allocate memory only when needed.\r\nThis new approach minimizes heap allocations and optimizes memory usage.\r\n\r\nWe have introduced a parameter, BLOCK_POOL_SIZE, which allows us to control\r\nthe balance between the number of calloc calls and memory consumption. This\r\nflexibility ensures that memory allocation occurs only when the pool is\r\ndepleted.\r\n\r\nAs a result of these changes, the heap memory allocation has significantly\r\nimproved. For example, in the puzzle.elf example, we observed a reduction in\r\nheap memory allocation from 20,306,989 bytes to just 313,461 bytes.\r\n\r\nWhile this design may lead to some discontinuity in memory spaces for\r\ninstructions in sequence, the impact on random access is minimal, as random\r\naccess is primarily required for certain fuse operations. In cases where\r\nrandom access is needed, we can employ linear search method. The potential\r\ncache locality issues resulting from the discontinuous memory spaces can\r\nalso be mitigated by adjusting the BLOCK_POOL_SIZE parameter for better\r\nperformance.",
"timestamp": "2023-10-02T19:50:34+08:00",
"tree_id": "7417f92613792c4c3be19bef45e3c0c3c60062a7",
"url": "https://github.com/sysprog21/rv32emu/commit/00312241db570add3b9948a023e7ebbe2041919f"
},
"date": 1696247649132,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1130,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 966.211,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"committer": {
"email": "[email protected]",
"name": "Jim Huang",
"username": "jserv"
},
"distinct": true,
"id": "ae2de71ae55d060f924d5deecd4f068702dbe4f5",
"message": "Disable control flow integrity for instruction dispatching\n\nReturn-oriented programming (ROP) manipulates the stack to compromise\ncontrol flow and execute malicious code. To mitigate this, passing\n\"-fcf-protection=none\" to GCC/Clang disables 'endbr64' instruction\ngeneration, resulting in a slightly shorter instruction dispatch path.\n\n[ original ]\n$ size build/rv32emu\n text data bss dec hex filename\n 94637 3920 4464 103021 1926d build/rv32emu\n\n000000000000b2b0 <do_addi>:\n b2b0: f3 0f 1e fa endbr64\n b2b4: 48 83 87 a8 01 00 00 addq $0x1,0x1a8(%rdi)\n b2bb: 01\n b2bc: 0f b6 4e 05 movzbl 0x5(%rsi),%ecx\n b2c0: 0f b6 56 04 movzbl 0x4(%rsi),%edx\n b2c4: 8b 06 mov (%rsi),%eax\n b2c6: 03 44 8f 58 add 0x58(%rdi,%rcx,4),%eax\n b2ca: 89 44 97 58 mov %eax,0x58(%rdi,%rdx,4)\n b2ce: 0f b6 46 1c movzbl 0x1c(%rsi),%eax\n b2d2: 01 87 d8 00 00 00 add %eax,0xd8(%rdi)\n b2d8: 0f b6 46 1d movzbl 0x1d(%rsi),%eax\n b2dc: 84 c0 test %al,%al\n b2de: 75 18 jne b2f8 <do_addi+0x48>\n b2e0: 0f b6 87 10 01 00 00 movzbl 0x110(%rdi),%eax\n b2e7: 84 c0 test %al,%al\n b2e9: 75 0d jne b2f8 <do_addi+0x48>\n b2eb: 48 8b 76 38 mov 0x38(%rsi),%rsi\n b2ef: ff 66 20 jmpq *0x20(%rsi)\n b2f2: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)\n b2f8: c3 retq\n b2f9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)\n\n[ proposed ]\n$ size build/rv32emu\n text data bss dec hex filename\n 91845 3920 4464 100229 18785 build/rv32emu\n\n000000000000a970 <do_addi>:\n a970: 48 83 87 a8 01 00 00 addq $0x1,0x1a8(%rdi)\n a977: 01\n a978: 0f b6 4e 05 movzbl 0x5(%rsi),%ecx\n a97c: 0f b6 56 04 movzbl 0x4(%rsi),%edx\n a980: 8b 06 mov (%rsi),%eax\n a982: 03 44 8f 58 add 0x58(%rdi,%rcx,4),%eax\n a986: 89 44 97 58 mov %eax,0x58(%rdi,%rdx,4)\n a98a: 0f b6 46 1c movzbl 0x1c(%rsi),%eax\n a98e: 01 87 d8 00 00 00 add %eax,0xd8(%rdi)\n a994: 0f b6 46 1d movzbl 0x1d(%rsi),%eax\n a998: 0a 87 10 01 00 00 or 0x110(%rdi),%al\n a99e: 75 10 jne a9b0 <do_addi+0x40>\n a9a0: 48 8b 76 38 mov 0x38(%rsi),%rsi\n a9a4: ff 66 20 jmpq *0x20(%rsi)\n a9a7: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1)\n a9ae: 00 00\n a9b0: c3 retq\n a9b1: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)\n a9b8: 00 00 00 00\n a9bc: 0f 1f 40 00 nopl 0x0(%rax)",
"timestamp": "2023-10-02T20:41:50+08:00",
"tree_id": "ba869e55ce1b068dcf80592e50354dbcb0db37b2",
"url": "https://github.com/sysprog21/rv32emu/commit/ae2de71ae55d060f924d5deecd4f068702dbe4f5"
},
"date": 1696250845004,
"tool": "customBiggerIsBetter",
"benches": [
{
"name": "Dhrystone",
"value": 1138.33,
"unit": "Average DMIPS over 10 runs"
},
{
"name": "Coremark",
"value": 984.096,
"unit": "Average iterations/sec over 10 runs"
}
]
},
{
"commit": {
"author": {
"name": "sysprog21",
"username": "sysprog21"
},
"committer": {
"name": "sysprog21",
"username": "sysprog21"
},
"id": "ae2de71ae55d060f924d5deecd4f068702dbe4f5",
"message": "Disable control flow integrity for instruction dispatching",
"timestamp": "2023-09-30T08:34:51Z",