@@ -4,99 +4,99 @@ APR Lock Performance Test
4
4
apr_thread_mutex_t Tests
5
5
Initializing the apr_thread_mutex_t (UNNESTED) OK
6
6
Starting 1 threads OK
7
- microseconds: 18319 usec
7
+ microseconds: 23716 usec
8
8
apr_thread_mutex_t Tests
9
9
Initializing the apr_thread_mutex_t (NESTED) OK
10
10
Starting 1 threads OK
11
- microseconds: 18115 usec
11
+ microseconds: 23773 usec
12
12
apr_thread_mutex_t Tests
13
13
Initializing the apr_thread_mutex_t (TIMED) OK
14
14
Starting 1 threads OK
15
- microseconds: 84047 usec
15
+ microseconds: 91080 usec
16
16
apr_thread_rwlock_t Tests
17
17
Initializing the apr_thread_rwlock_t OK
18
18
Starting 1 threads OK
19
- microseconds: 48251 usec
19
+ microseconds: 54455 usec
20
20
apr_thread_mutex_t Tests
21
21
Initializing the apr_thread_mutex_t (UNNESTED) OK
22
22
Starting 2 threads OK
23
- microseconds: 153029 usec
23
+ microseconds: 128083 usec
24
24
apr_thread_mutex_t Tests
25
25
Initializing the apr_thread_mutex_t (NESTED) OK
26
26
Starting 2 threads OK
27
- microseconds: 252108 usec
27
+ microseconds: 321771 usec
28
28
apr_thread_mutex_t Tests
29
29
Initializing the apr_thread_mutex_t (TIMED) OK
30
30
Starting 2 threads OK
31
- microseconds: 739863 usec
31
+ microseconds: 588517 usec
32
32
apr_thread_rwlock_t Tests
33
33
Initializing the apr_thread_rwlock_t OK
34
34
Starting 2 threads OK
35
- microseconds: 22660602 usec
35
+ microseconds: 21796501 usec
36
36
apr_thread_mutex_t Tests
37
37
Initializing the apr_thread_mutex_t (UNNESTED) OK
38
38
Starting 3 threads OK
39
- microseconds: 329025 usec
39
+ microseconds: 324510 usec
40
40
apr_thread_mutex_t Tests
41
41
Initializing the apr_thread_mutex_t (NESTED) OK
42
42
Starting 3 threads OK
43
- microseconds: 389833 usec
43
+ microseconds: 421241 usec
44
44
apr_thread_mutex_t Tests
45
45
Initializing the apr_thread_mutex_t (TIMED) OK
46
46
Starting 3 threads OK
47
- microseconds: 1270905 usec
47
+ microseconds: 1091681 usec
48
48
apr_thread_rwlock_t Tests
49
49
Initializing the apr_thread_rwlock_t OK
50
50
Starting 3 threads OK
51
- microseconds: 33086968 usec
51
+ microseconds: 35814067 usec
52
52
apr_thread_mutex_t Tests
53
53
Initializing the apr_thread_mutex_t (UNNESTED) OK
54
54
Starting 4 threads OK
55
- microseconds: 700545 usec
55
+ microseconds: 958153 usec
56
56
apr_thread_mutex_t Tests
57
57
Initializing the apr_thread_mutex_t (NESTED) OK
58
58
Starting 4 threads OK
59
- microseconds: 793559 usec
59
+ microseconds: 722224 usec
60
60
apr_thread_mutex_t Tests
61
61
Initializing the apr_thread_mutex_t (TIMED) OK
62
62
Starting 4 threads OK
63
- microseconds: 1814759 usec
63
+ microseconds: 1913149 usec
64
64
apr_thread_rwlock_t Tests
65
65
Initializing the apr_thread_rwlock_t OK
66
66
Starting 4 threads OK
67
- microseconds: 43029566 usec
67
+ microseconds: 49835573 usec
68
68
apr_thread_mutex_t Tests
69
69
Initializing the apr_thread_mutex_t (UNNESTED) OK
70
70
Starting 5 threads OK
71
- microseconds: 902172 usec
71
+ microseconds: 962196 usec
72
72
apr_thread_mutex_t Tests
73
73
Initializing the apr_thread_mutex_t (NESTED) OK
74
74
Starting 5 threads OK
75
- microseconds: 660640 usec
75
+ microseconds: 654519 usec
76
76
apr_thread_mutex_t Tests
77
77
Initializing the apr_thread_mutex_t (TIMED) OK
78
78
Starting 5 threads OK
79
- microseconds: 2337663 usec
79
+ microseconds: 2530866 usec
80
80
apr_thread_rwlock_t Tests
81
81
Initializing the apr_thread_rwlock_t OK
82
82
Starting 5 threads OK
83
- microseconds: 55699046 usec
83
+ microseconds: 58232777 usec
84
84
apr_thread_mutex_t Tests
85
85
Initializing the apr_thread_mutex_t (UNNESTED) OK
86
86
Starting 6 threads OK
87
- microseconds: 2040095 usec
87
+ microseconds: 1992193 usec
88
88
apr_thread_mutex_t Tests
89
89
Initializing the apr_thread_mutex_t (NESTED) OK
90
90
Starting 6 threads OK
91
- microseconds: 1201804 usec
91
+ microseconds: 1236000 usec
92
92
apr_thread_mutex_t Tests
93
93
Initializing the apr_thread_mutex_t (TIMED) OK
94
94
Starting 6 threads OK
95
- microseconds: 3418914 usec
95
+ microseconds: 3415026 usec
96
96
apr_thread_rwlock_t Tests
97
97
Initializing the apr_thread_rwlock_t OK
98
98
Starting 6 threads OK
99
- microseconds: 66778145 usec
99
+ microseconds: 66348197 usec
100
100
Trying proc mutexes with mechanism `default'...
101
101
mutex mechanism `default' is global in scope on this platform.
102
102
Trying global mutexes with mechanism `default'...
@@ -132,7 +132,7 @@ testdup : SUCCESS
132
132
testencode : SUCCESS
133
133
testenv : SUCCESS
134
134
testescape : SUCCESS
135
- testfile : abcdefRandom seed for test_atomic_append() is 3617717759
135
+ testfile : abcdefRandom seed for test_atomic_append() is 2255882941
136
136
SUCCESS
137
137
testfilecopy : SUCCESS
138
138
testfileinfo : SUCCESS
@@ -194,23 +194,39 @@ Trailers (3):
194
194
19 bytes
195
195
10 bytes
196
196
90000 bytes
197
- apr_socket_sendfile()->0, sent 211092 bytes
197
+ apr_socket_sendfile()->0, sent 133268 bytes
198
198
Calling apr_socket_sendfile()...
199
199
Headers (0):
200
- File: 68928 bytes from offset 131072
200
+ File: 146752 bytes from offset 53248
201
201
Trailers (3):
202
202
19 bytes
203
203
10 bytes
204
204
90000 bytes
205
205
apr_socket_sendfile()->11, sent 0 bytes
206
206
Calling apr_socket_sendfile()...
207
207
Headers (0):
208
- File: 68928 bytes from offset 131072
208
+ File: 146752 bytes from offset 53248
209
209
Trailers (3):
210
210
19 bytes
211
211
10 bytes
212
212
90000 bytes
213
- apr_socket_sendfile()->0, sent 158957 bytes
213
+ apr_socket_sendfile()->0, sent 131072 bytes
214
+ Calling apr_socket_sendfile()...
215
+ Headers (0):
216
+ File: 15680 bytes from offset 184320
217
+ Trailers (3):
218
+ 19 bytes
219
+ 10 bytes
220
+ 90000 bytes
221
+ apr_socket_sendfile()->11, sent 0 bytes
222
+ Calling apr_socket_sendfile()...
223
+ Headers (0):
224
+ File: 15680 bytes from offset 184320
225
+ Trailers (3):
226
+ 19 bytes
227
+ 10 bytes
228
+ 90000 bytes
229
+ apr_socket_sendfile()->0, sent 105709 bytes
214
230
After apr_socket_sendfile(), the kernel file pointer is at offset 0.
215
231
client: apr_socket_sendfile() worked as expected!
216
232
Waiting for a client to connect...
@@ -228,15 +244,23 @@ Trailers (3):
228
244
19 bytes
229
245
10 bytes
230
246
90000 bytes
231
- apr_socket_sendfile()->0, sent 211092 bytes
247
+ apr_socket_sendfile()->0, sent 133268 bytes
248
+ Calling apr_socket_sendfile()...
249
+ Headers (0):
250
+ File: 146752 bytes from offset 53248
251
+ Trailers (3):
252
+ 19 bytes
253
+ 10 bytes
254
+ 90000 bytes
255
+ apr_socket_sendfile()->0, sent 131072 bytes
232
256
Calling apr_socket_sendfile()...
233
257
Headers (0):
234
- File: 68928 bytes from offset 131072
258
+ File: 15680 bytes from offset 184320
235
259
Trailers (3):
236
260
19 bytes
237
261
10 bytes
238
262
90000 bytes
239
- apr_socket_sendfile()->0, sent 158957 bytes
263
+ apr_socket_sendfile()->0, sent 105709 bytes
240
264
After apr_socket_sendfile(), the kernel file pointer is at offset 0.
241
265
client: apr_socket_sendfile() worked as expected!
242
266
Waiting for a client to connect...
0 commit comments