#52949Speed decrease since 4.5
Description
There is a very notable decrease in speed since 4.5.
A fully cached request in 4.5
$ ab -n 100 "http://ubuntu-typo3.local/dummy/index.php?id=1"
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ubuntu-typo3.local (be patient).....done
Server Software: Apache/2.2.22
Server Hostname: ubuntu-typo3.local
Server Port: 80
Document Path: /dummy/index.php?id=1
Document Length: 937 bytes
Concurrency Level: 1
Time taken for tests: 3.513 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 123800 bytes
HTML transferred: 93700 bytes
Requests per second: 28.47 [#/sec] (mean)
Time per request: 35.129 [ms] (mean)
Time per request: 35.129 [ms] (mean, across all concurrent requests)
Transfer rate: 34.42 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 32 35 3.3 34 59
Waiting: 32 35 3.3 34 58
Total: 32 35 3.3 34 59
Percentage of the requests served within a certain time (ms)
50% 34
66% 36
75% 37
80% 38
90% 38
95% 39
98% 45
99% 59
100% 59 (longest request)
A fully cached request in 6.2beta1
$ ab -n 100 "http://ubuntu-typo3.local/dummy/index.php?id=1"
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ubuntu-typo3.local (be patient).....done
Server Software: Apache/2.2.22
Server Hostname: ubuntu-typo3.local
Server Port: 80
Document Path: /dummy/index.php?id=1
Document Length: 752 bytes
Concurrency Level: 1
Time taken for tests: 14.486 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 105300 bytes
HTML transferred: 75200 bytes
Requests per second: 6.90 [#/sec] (mean)
Time per request: 144.856 [ms] (mean)
Time per request: 144.856 [ms] (mean, across all concurrent requests)
Transfer rate: 7.10 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 120 145 16.4 142 202
Waiting: 119 144 16.4 141 201
Total: 120 145 16.4 142 202
Percentage of the requests served within a certain time (ms)
50% 142
66% 148
75% 150
80% 155
90% 167
95% 181
98% 202
99% 202
100% 202 (longest request)
Find attached sample xhprof and cachegrind files, plus the used (simple) TS template and some notes for the setup (1 page, no domain record).
Profiling was done with web3tracer.
Reviews 1
Subtasks 17
- Bug #52125Saving records takes ages to complete
- Bug #52235Timeout when copying pages recursively due to cache-clearing overload
- Feature #52642CF: Implement Simple db, apc & memcached backend
- Task #53029Improve performance of the class loader
- Bug #53556classLoader->loadClass calls requireOnce twice per class
- Bug #53598Select/Delete fe_sessions twice per request
- Bug #53702FAL fetches storages twice on every BE request
- Task #53744Change ClassLoader cache from proxy require files to standard cache backends
- Task #53747Change TCA cache from php code to serialized array
- Bug #53862isValidUrl idna converts whole URI instead of domain only
- Bug #53918t3skin calls addIconSprite for each language
- Bug #53962Class loader does not cache non existing classes
- Task #54251GeneralUtility::array_merge_recursive_overrule has bad performance
- Bug #54982Performance of eID-scripts in TYPO3 6.2
- Bug #55022PackageManager Cache is invalid if typo3 dir has symlinks
- Bug #56307Findings from Bootstrap/PackageManager/ClassLoader analyses
- Story #57862Add possibility to make all TCA additions cached