NSAPI Trim Filter - Performance benchmarks
benchmarks
backI have used apache bench tool (ab) on single html file.
Before filtering:
Server Software: Sun-ONE-Web-Server/6.1 Server Hostname: somehost.domain.com Server Port: 80 Document Path: /binaries/static/test/test2.html Document Length: 81488 bytes Concurrency Level: 1 Time taken for tests: 0.993 seconds Complete requests: 2000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 163422000 bytes HTML transferred: 162976000 bytes Requests per second: 2014.10 [#/sec] (mean) Time per request: 0.50 [ms] (mean) Time per request: 0.50 [ms] (mean, across all concurrent requests) Transfer rate: 164574.02 [Kbytes/sec] received
After filtering with trim filter:
Server Software: Sun-ONE-Web-Server/6.1 Server Hostname: somehost.domain.com Server Port: 80 Document Path: /binaries/static/test/test2.html Document Length: 29987 bytes Concurrency Level: 1 Time taken for tests: 2.622 seconds Complete requests: 2000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 60374000 bytes HTML transferred: 59974000 bytes Requests per second: 762.78 [#/sec] (mean) Time per request: 1.31 [ms] (mean) Time per request: 1.31 [ms] (mean, across all concurrent requests) Transfer rate: 23025.93 [Kbytes/sec] receivedback