You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,53 @@ npm install
15
15
- head request
16
16
- Etag+last modified
17
17
# test
18
-
### first `npm run build` or `yarn build` then copy the `public` folder in `src/test` to `dist/src/test`,and `yarn test` or `npm run test`,now you can visit [http://localhost/](http://localhost/),and you can see the hello world on the screen
18
+
### first `npm run build` or `yarn build` then copy the `public` folder in `src/test` to `dist/src/test`,and `yarn test` or `npm run test`,now you can visit [http://localhost/](http://localhost:2333/),and you can see the hello world on the screen
19
+
### benchmark results is in the `benchmark` folder
20
+
```
21
+
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
22
+
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
23
+
Licensed to The Apache Software Foundation, http://www.apache.org/
24
+
25
+
Benchmarking localhost (be patient)
26
+
27
+
28
+
Server Software:
29
+
Server Hostname: localhost
30
+
Server Port: 2333
31
+
32
+
Document Path: /index.html
33
+
Document Length: 228 bytes
34
+
35
+
Concurrency Level: 10000
36
+
Time taken for tests: 27.310 seconds
37
+
Complete requests: 100000
38
+
Failed requests: 0
39
+
Write errors: 0
40
+
Total transferred: 46000000 bytes
41
+
HTML transferred: 22800000 bytes
42
+
Requests per second: 3661.71 [#/sec] (mean)
43
+
Time per request: 2730.961 [ms] (mean)
44
+
Time per request: 0.273 [ms] (mean, across all concurrent requests)
45
+
Transfer rate: 1644.91 [Kbytes/sec] received
46
+
47
+
Connection Times (ms)
48
+
min mean[+/-sd] median max
49
+
Connect: 0 957 2202.3 4 15061
50
+
Processing: 62 213 175.5 178 6590
51
+
Waiting: 8 167 169.4 133 6550
52
+
Total: 76 1170 2234.6 225 16126
53
+
54
+
Percentage of the requests served within a certain time (ms)
0 commit comments