forked from bakerstu/openmrn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent_handler_performance.txt
54 lines (30 loc) · 1.17 KB
/
event_handler_performance.txt
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
performance data collected:
(this is for the tcs io board, with the restricted set of inputs/outputs
enabled: 40 outputs and about 15 inputs)
FOR COMPILATION WITH -Os
========================
processing 20 events of 0100..0104 (which have 8 matches in the registry)
~40 msec (37-40 msec)
for 100:
174 or 212 msec (there is probably a rounding problem here, freertos cannot really measure sub-millisecond time)
processing 20 events that have zero matches
~2 msec (0-3 msec)
for 100 irrelevant events: 4-10 msec
processing events with one match in the registry:
100-140 msec for 100 events.
FOR COMPILATION WITH -O3
========================
processing events with 8 match in the registry:
160-200 msec for 100 events.
processing events with one match in the registry:
100-125 msec for 100 events.
processing events with zero match in the registry:
1-12 msec for 100 events.
AFTER FIRST ROUND OF OPTIMIZATION
=================================
processing events with 8 match in the registry: (0100)
24-34 msec for 100 events.
processing events with one match in the registry:
12-20 msec for 100 events.
processing events with zero match in the registry:
2-8 msec for 100 events.