Am 18.07.2017 um 20:56 schrieb li...@rhsoft.net:


Am 18.07.2017 um 20:39 schrieb Michael Morris:
Personally, I no longer directly use these calls, preferring instead to use Symfony's HTTP foundation classes. Those in turn are, I understand, in the process of being converted to implement the common interface outlined here:
http://www.php-fig.org/psr/psr-7/  I would be much more interested in
seeing a bare bones implementation of that agreed on standard in the
language core then seeing something entirely new, especially a band aid
solution

but why do you do this?

looks like these days everybody is using fat frameworks for anything like in JavaScript most people think Jquery *is* JavaScript

i must have done something right starting my own cms/framework development in 2003 where a typical request takes 0.0015 to 0.0025 seconds on a 7 years old desktop machine without *any* 3rd party code and where you can simply count the function calls of a core system until large modules come into play

hence a guest hosting some hundret instances shows 100-500 Mhz on the vCenter server and literally you can push out at best 50% of the requests the machine could ansser to a internet connection because of the additional latencys

and no, that "ab" output is not faked

in that case: Intel(R) Xeon(R) CPU E5-2643 v3 @ 3.40GHz
a Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz makes 4300/second

Concurrency Level:      250
Time taken for tests:   63.577 seconds
Complete requests:      500000
Failed requests:        0
Keep-Alive requests:    496820
Total transferred:      2092609799 bytes
HTML transferred:       1888721877 bytes
Requests per second:    7864.46 [#/sec] (mean)
Time per request:       31.789 [ms] (mean)
Time per request:       0.127 [ms] (mean, across all concurrent requests)
Transfer rate:          32143.07 [Kbytes/sec] received

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to