RDP1974 40 Posted March 26, 2021 (edited) https://github.com/RDP1974/Delphi-64-bit-compiler-RTL-speed-up_2 win32 win64 intel tbb 100x speed up on core I9 windows 2016 server wizard webserver app indy/webbroker Response.Content := '<html>' + '<head><title>Web Server Application</title></head>' + '<body>Web Server Application '+ FormatDateTime('YYYY-MM-DD hh:mm:ss', Now) +' </body>' + '</html> win32 60 ops/s win64 45 ops/s win32 replacement 6400 ops/s win64 replacement 6400 ops/s (btw. you will gain those speed up only on heavy multithreaded apps deeply relying over heap allocations, strings, etc.) C:\ApacheBench>ab -n 100 -c 100 -k -r http://192.168.1.160:8080/ This is ApacheBench, Version 2.3 <$Revision: 1843412 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.1.160 (be patient).....done Server Software: Server Hostname: 192.168.1.160 Server Port: 8080 Document Path: / Document Length: 119 bytes Concurrency Level: 100 Time taken for tests: 1.625 seconds Complete requests: 100 Failed requests: 0 Keep-Alive requests: 0 Total transferred: 25500 bytes HTML transferred: 11900 bytes Requests per second: 61.54 [#/sec] (mean) Time per request: 1624.997 [ms] (mean) Time per request: 16.250 [ms] (mean, across all concurrent requests) Transfer rate: 15.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 15 88.4 0 516 Processing: 0 833 579.8 1031 1547 Waiting: 0 817 582.5 1031 1547 Total: 0 848 578.3 1031 1547 Percentage of the requests served within a certain time (ms) 50% 1031 66% 1031 75% 1547 80% 1547 90% 1547 95% 1547 98% 1547 99% 1547 100% 1547 (longest request) C:\ApacheBench>ab -n 100 -c 100 -k -r http://192.168.1.160:8080/ This is ApacheBench, Version 2.3 <$Revision: 1843412 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.1.160 (be patient).....done Server Software: Server Hostname: 192.168.1.160 Server Port: 8080 Document Path: / Document Length: 119 bytes Concurrency Level: 100 Time taken for tests: 2.156 seconds Complete requests: 100 Failed requests: 0 Keep-Alive requests: 0 Total transferred: 25500 bytes HTML transferred: 11900 bytes Requests per second: 46.38 [#/sec] (mean) Time per request: 2156.256 [ms] (mean) Time per request: 21.563 [ms] (mean, across all concurrent requests) Transfer rate: 11.55 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 21 101.6 0 516 Processing: 0 1186 667.9 1031 2062 Waiting: 0 1165 672.7 1031 2062 Total: 0 1207 662.9 1547 2062 Percentage of the requests served within a certain time (ms) 50% 1547 66% 1547 75% 1547 80% 2062 90% 2062 95% 2062 98% 2062 99% 2062 100% 2062 (longest request) C:\ApacheBench>ab -n 100 -c 100 -k -r http://192.168.1.160:8080/ This is ApacheBench, Version 2.3 <$Revision: 1843412 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.1.160 (be patient).....done Server Software: Server Hostname: 192.168.1.160 Server Port: 8080 Document Path: / Document Length: 119 bytes Concurrency Level: 100 Time taken for tests: 0.016 seconds Complete requests: 100 Failed requests: 0 Keep-Alive requests: 0 Total transferred: 25500 bytes HTML transferred: 11900 bytes Requests per second: 6396.72 [#/sec] (mean) Time per request: 15.633 [ms] (mean) Time per request: 0.156 [ms] (mean, across all concurrent requests) Transfer rate: 1592.93 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 0 15 2.2 16 16 Waiting: 0 1 4.5 0 16 Total: 0 15 2.2 16 16 Percentage of the requests served within a certain time (ms) 50% 16 66% 16 75% 16 80% 16 90% 16 95% 16 98% 16 99% 16 100% 16 (longest request) C:\ApacheBench>ab -n 100 -c 100 -k -r http://192.168.1.160:8080/ This is ApacheBench, Version 2.3 <$Revision: 1843412 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.1.160 (be patient).....done Server Software: Server Hostname: 192.168.1.160 Server Port: 8080 Document Path: / Document Length: 119 bytes Concurrency Level: 100 Time taken for tests: 0.016 seconds Complete requests: 100 Failed requests: 0 Keep-Alive requests: 0 Total transferred: 25500 bytes HTML transferred: 11900 bytes Requests per second: 6405.33 [#/sec] (mean) Time per request: 15.612 [ms] (mean) Time per request: 0.156 [ms] (mean, across all concurrent requests) Transfer rate: 1595.08 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 1.6 0 16 Processing: 0 14 4.7 16 16 Waiting: 0 14 4.9 16 16 Total: 0 14 4.5 16 16 Percentage of the requests served within a certain time (ms) 50% 16 66% 16 75% 16 80% 16 90% 16 95% 16 98% 16 99% 16 100% 16 (longest request) Cheers. Bob Edited March 26, 2021 by RDP1974 2 Share this post Link to post