Skip to content

Commit

Permalink
Update test values to be more varying
Browse files Browse the repository at this point in the history
  • Loading branch information
magnmaeh committed Oct 3, 2024
1 parent e8d028e commit 07a47ca
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/reports/parse-reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def format_basic_report(update: pd.DataFrame, main: pd.DataFrame, report: pd.Dat
ret += f"Test {idx}: {row['filename'].replace('_c', '.c')}:\n"
for name in report.head():
if name != 'filename':
ret += f"{name : <4}: {row[name] : <6.2f} (from {main.loc[idx][name] : >6} -> {update.loc[idx][name] : >6})\n"
ret += f"% {name : <4}: {row[name] : <8.2f} (from {main.loc[idx][name] : >6} -> {update.loc[idx][name] : >6})\n"
ret += '\n'


Expand Down
80 changes: 40 additions & 40 deletions scripts/ci/reports/test/expected.txt
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
Test 0: action_test.c:
text: 0.00 (from 36104 -> 36104)
data: 0.00 (from 728 -> 728)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 37344 -> 37344)
% text: 7.20 (from 36104 -> 38702)
% data: -2.47 (from 728 -> 710)
% bss : 56.25 (from 512 -> 800)
% dec : 7.68 (from 37344 -> 40212)

Test 1: delayed.conn_test.c:
text: 0.00 (from 39103 -> 39103)
data: 0.00 (from 728 -> 728)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 40343 -> 40343)
% text: -15.05 (from 39103 -> 33218)
% data: -51.10 (from 728 -> 356)
% bss : 138.67 (from 512 -> 1222)
% dec : -14.00 (from 40343 -> 34696)

Test 2: event_queue_test.c:
text: 0.00 (from 22472 -> 22472)
data: 0.00 (from 632 -> 632)
bss : 0.00 (from 320 -> 320)
dec : 0.00 (from 23424 -> 23424)
% text: -0.22 (from 22472 -> 22422)
% data: 20.25 (from 632 -> 760)
% bss : 0.00 (from 320 -> 320)
% dec : 0.33 (from 23424 -> 23502)

Test 3: physical_action_test.c:
text: 6.48 (from 37566 -> 40000)
data: 0.00 (from 745 -> 745)
bss : 0.00 (from 1952 -> 1952)
dec : 0.00 (from 40263 -> 40263)
% text: 12.55 (from 37566 -> 42280)
% data: 157.72 (from 745 -> 1920)
% bss : -89.75 (from 1952 -> 200)
% dec : 10.27 (from 40263 -> 44400)

Test 4: port_test.c:
text: 0.00 (from 39067 -> 39067)
data: 0.00 (from 728 -> 728)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 40307 -> 40307)
% text: -17.01 (from 39067 -> 32420)
% data: 5.49 (from 728 -> 768)
% bss : -2.34 (from 512 -> 500)
% dec : -16.42 (from 40307 -> 33688)

Test 5: reaction_queue_test.c:
text: -9.56 (from 22117 -> 20002)
data: 0.00 (from 632 -> 632)
bss : 0.00 (from 320 -> 320)
dec : 0.00 (from 23069 -> 23069)
% text: 35.07 (from 22117 -> 29874)
% data: -36.71 (from 632 -> 400)
% bss : -15.62 (from 320 -> 270)
% dec : 32.40 (from 23069 -> 30544)

Test 6: shutdown_test.c:
text: 0.00 (from 32808 -> 32808)
data: 0.00 (from 720 -> 720)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 34040 -> 34040)
% text: -60.66 (from 32808 -> 12908)
% data: -41.67 (from 720 -> 420)
% bss : 52.34 (from 512 -> 780)
% dec : -58.55 (from 34040 -> 14108)

Test 7: startup_test.c:
text: -61.41 (from 31926 -> 12321)
data: 0.00 (from 720 -> 720)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 33158 -> 33158)
% text: -53.36 (from 31926 -> 14890)
% data: 0.00 (from 720 -> 720)
% bss : 0.00 (from 512 -> 512)
% dec : -51.38 (from 33158 -> 16122)

Test 8: timer_test.c:
text: 0.00 (from 32042 -> 32042)
data: 0.00 (from 720 -> 720)
bss : 0.00 (from 512 -> 512)
dec : 0.00 (from 33274 -> 33274)
% text: -2.67 (from 32042 -> 31188)
% data: -9.17 (from 720 -> 654)
% bss : 75.78 (from 512 -> 900)
% dec : -1.60 (from 33274 -> 32742)

Test 9: trigger_value_test.c:
text: 0.00 (from 18191 -> 18191)
data: 0.00 (from 632 -> 632)
bss : 0.00 (from 320 -> 320)
dec : 0.00 (from 19143 -> 19143)
% text: -3.02 (from 18191 -> 17642)
% data: -31.65 (from 632 -> 432)
% bss : -37.50 (from 320 -> 200)
% dec : -4.54 (from 19143 -> 18274)

20 changes: 10 additions & 10 deletions scripts/ci/reports/test/update.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
text data bss dec hex filename
36104 728 512 37344 91e0 action_test_c
38702 710 800 40212 9d14 action_test_c
text data bss dec hex filename
39103 728 512 40343 9d97 delayed_conn_test_c
33218 356 1222 34696 8788 delayed_conn_test_c
text data bss dec hex filename
22472 632 320 23424 5b80 event_queue_test_c
22422 760 320 23502 5bce event_queue_test_c
text data bss dec hex filename
40000 745 1952 40263 9d47 physical_action_test_c
42280 1920 200 44400 ad70 physical_action_test_c
text data bss dec hex filename
39067 728 512 40307 9d73 port_test_c
32420 768 500 33688 8398 port_test_c
text data bss dec hex filename
20002 632 320 23069 5a1d reaction_queue_test_c
29874 400 270 30544 7750 reaction_queue_test_c
text data bss dec hex filename
32808 720 512 34040 84f8 shutdown_test_c
12908 420 780 14108 371c shutdown_test_c
text data bss dec hex filename
12321 720 512 33158 8186 startup_test_c
14890 720 512 16122 3efa startup_test_c
text data bss dec hex filename
32042 720 512 33274 81fa timer_test_c
31188 654 900 32742 7fe6 timer_test_c
text data bss dec hex filename
18191 632 320 19143 4ac7 trigger_value_test_c
17642 432 200 18274 4762 trigger_value_test_c

0 comments on commit 07a47ca

Please sign in to comment.