Skip to content

destagia/ldn-reader

Repository files navigation

ldn-reader

Benchmark

rough

  • OSX Yosemite
  • 2.7GHz Intel Core i7
  • 16GB Memory
server: ldn-reader +RTS -N
    (after finished the first crawling)
benchmark: ab -n 10000 -c 100 "http://127.0.0.1:3000/top"

server configuration:
    CrawlerDelaySec: 300
    Environment: Production
    CrawlerEnabled: True
    ArticleMaxNum: 20

06/16 01:04 5385441a683e85f4286461dd9cc2e0a3937157d4

Server Software:        Warp/3.0.13.1
Server Hostname:        127.0.0.1
Server Port:            3000

Document Path:          /top
Document Length:        51205 bytes

Concurrency Level:      100
Time taken for tests:   34.513 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      513240000 bytes
HTML transferred:       512050000 bytes
Requests per second:    289.75 [#/sec] (mean)
Time per request:       345.127 [ms] (mean)
Time per request:       3.451 [ms] (mean, across all concurrent requests)
Transfer rate:          14522.51 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   36  49.8      7     222
Processing:    18  307 218.0    216    1534
Waiting:       18  256 216.7    171    1533
Total:         19  343 219.6    261    1534

Percentage of the requests served within a certain time (ms)
  50%    261
  66%    336
  75%    461
  80%    516
  90%    635
  95%    709
  98%    903
  99%   1431
 100%   1534 (longest request)

06/17 15:08 a8ad3c72f4527b97c54f4e188388d8ea753d0bc3

パーサーレベルで関連記事の取得件数を制限した

Server Software:        Warp/3.0.13.1
Server Hostname:        127.0.0.1
Server Port:            3000

Document Path:          /top
Document Length:        34271 bytes

Concurrency Level:      100
Time taken for tests:   15.023 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      343900000 bytes
HTML transferred:       342710000 bytes
Requests per second:    665.66 [#/sec] (mean)
Time per request:       150.226 [ms] (mean)
Time per request:       1.502 [ms] (mean, across all concurrent requests)
Transfer rate:          22355.68 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   33  38.3      3     172
Processing:    37  103 108.0    101    1934
Waiting:       37   98 101.4    100    1930
Total:         41  136 114.2    110    2012

Percentage of the requests served within a certain time (ms)
  50%    110
  66%    129
  75%    145
  80%    152
  90%    182
  95%    215
  98%    251
  99%    455
 100%   2012 (longest request)

06/17 18:47 ceea239f6fe23d268b956361b60dd06a6d1f33d7

とりあえず完成

Server Software:        Warp/3.0.13.1
Server Hostname:        127.0.0.1
Server Port:            3000

Document Path:          /top
Document Length:        6449 bytes

Concurrency Level:      100
Time taken for tests:   11.637 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      65680000 bytes
HTML transferred:       64490000 bytes
Requests per second:    859.36 [#/sec] (mean)
Time per request:       116.365 [ms] (mean)
Time per request:       1.164 [ms] (mean, across all concurrent requests)
Transfer rate:          5512.00 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   54  33.1     48     431
Processing:     1   60  42.2     50     427
Waiting:        1   57  41.1     49     427
Total:          4  114  69.7     99     586

Percentage of the requests served within a certain time (ms)
  50%     99
  66%    133
  75%    155
  80%    174
  90%    197
  95%    216
  98%    281
  99%    320
 100%    586 (longest request)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published