3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example { public function __construct() { } public static function create() { return new self(); } public function doStuff() { } public static function doStaticStuff() { } } $named = function () { Example::create()->doStuff(); }; $static = function () { Example::doStaticStuff(); }; $test = function ($count) use ($named, $static) { $loop = function ($count, $callable) { $time_start = microtime(true) * 1000; $memory_start = memory_get_usage(true); for ($i = 0; $i < $count; $i++) { $callable(); } $time_end = microtime(true) * 1000; $memory_end = memory_get_usage(true); return [ $time_end - $time_start, $memory_end - $memory_start, ]; }; $static_delta = $loop($count, $static); $named_delta = $loop($count, $named); echo 'After ' . number_format($count) . " calls:\n"; echo 'Difference in milliseconds: '; var_dump($named_delta[0] - $static_delta[0]); echo 'Difference in memory usage: '; var_dump($named_delta[1] - $static_delta[1]); echo "-----------------------------\n"; }; $test(1); $test(10); $test(100); $test(1000); $test(10000); $test(100000);
Output for 7.3.1
After 1 calls: Difference in milliseconds: float(0.00048828125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0029296875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.025146484375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1708984375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.667236328125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(15.4111328125) Difference in memory usage: int(0) -----------------------------
Output for 7.3.0
After 1 calls: Difference in milliseconds: float(-0.005859375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00048828125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.014892578125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.146240234375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.701904296875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.65673828125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.13
After 1 calls: Difference in milliseconds: float(-0.0048828125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.02001953125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.212158203125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.97900390625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(10.643798828125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.12
After 1 calls: Difference in milliseconds: float(0.00634765625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0029296875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.02587890625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.262939453125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(3.070068359375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(15.376953125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.11
After 1 calls: Difference in milliseconds: float(-0.01220703125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00244140625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.02587890625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.31494140625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(3.233154296875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(15.460205078125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.10
After 1 calls: Difference in milliseconds: float(-0.466796875) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.003173828125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.013916015625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.236083984375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.7939453125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(16.68310546875) Difference in memory usage: int(0) -----------------------------
Output for 7.2.9
After 1 calls: Difference in milliseconds: float(-15.23876953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00244140625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.015380859375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.164306640625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.85693359375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(12.7900390625) Difference in memory usage: int(0) -----------------------------
Output for 7.2.8
After 1 calls: Difference in milliseconds: float(-0.01611328125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01708984375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.22607421875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.1591796875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.59130859375) Difference in memory usage: int(0) -----------------------------
Output for 7.2.7
After 1 calls: Difference in milliseconds: float(-0.005126953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.039306640625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.22998046875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.4541015625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(14.73486328125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.6
After 1 calls: Difference in milliseconds: float(-0.0048828125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001953125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.02294921875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1552734375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.927001953125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.76708984375) Difference in memory usage: int(0) -----------------------------
Output for 7.2.5
After 1 calls: Difference in milliseconds: float(-0.008056640625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001708984375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.02001953125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.205322265625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.41015625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(18.283935546875) Difference in memory usage: int(0) -----------------------------
Output for 7.2.4
After 1 calls: Difference in milliseconds: float(-0.006103515625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.012939453125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.12890625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.317138671875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.30908203125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.3
After 1 calls: Difference in milliseconds: float(-0.005126953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.015869140625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.18701171875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.382080078125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(14.5830078125) Difference in memory usage: int(0) -----------------------------
Output for 7.2.2
After 1 calls: Difference in milliseconds: float(-0.01220703125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.013916015625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.192138671875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.36962890625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.8271484375) Difference in memory usage: int(0) -----------------------------
Output for 7.2.1
After 1 calls: Difference in milliseconds: float(-0.0068359375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.016845703125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1220703125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.721923828125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(23.916015625) Difference in memory usage: int(0) -----------------------------
Output for 7.2.0
After 1 calls: Difference in milliseconds: float(-0.013916015625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.003173828125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.019775390625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.209228515625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.081787109375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(12.744140625) Difference in memory usage: int(0) -----------------------------
Output for 7.1.25
After 1 calls: Difference in milliseconds: float(0.000244140625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0029296875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01806640625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.188720703125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.162109375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(17.983154296875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.23
After 1 calls: Difference in milliseconds: float(-0.000732421875) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.002197265625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.012939453125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.15673828125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.117919921875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(10.70703125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.22
After 1 calls: Difference in milliseconds: float(-0.006103515625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.009765625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.09814453125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(0.889892578125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(28.271240234375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.21
After 1 calls: Difference in milliseconds: float(-0.00830078125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001708984375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.016845703125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.2236328125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.177978515625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(23.321044921875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.20
After 1 calls: Difference in milliseconds: float(-0.001220703125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.009521484375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.100341796875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.01708984375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(12.18115234375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.19
After 1 calls: Difference in milliseconds: float(-0.001953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.017333984375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1767578125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.4658203125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.614990234375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.18
After 1 calls: Difference in milliseconds: float(-0.005859375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00244140625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.010009765625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.103515625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.135986328125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(12.178955078125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.17
After 1 calls: Difference in milliseconds: float(-0.006103515625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001953125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.026123046875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.122802734375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(9.1962890625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(7.642822265625) Difference in memory usage: int(0) -----------------------------
Output for 7.1.16
After 1 calls: Difference in milliseconds: float(-8.61279296875) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00341796875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01611328125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.26220703125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.507080078125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.742919921875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.15
After 1 calls: Difference in milliseconds: float(-0.001220703125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001708984375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01708984375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1708984375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(0.853271484375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(17.671875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.14
After 1 calls: Difference in milliseconds: float(-0.0009765625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.000732421875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.023681640625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.2255859375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.2958984375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(26.169189453125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.13
After 1 calls: Difference in milliseconds: float(-0.007080078125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001953125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.014892578125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.17724609375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.593994140625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.10888671875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.12
After 1 calls: Difference in milliseconds: float(-0.005859375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001708984375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.043212890625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.186279296875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.391845703125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(21.64208984375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.11
After 1 calls: Difference in milliseconds: float(0.000244140625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001953125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.037109375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.0888671875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.117919921875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.2080078125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.10
After 1 calls: Difference in milliseconds: float(-0.007080078125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.002197265625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.015869140625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.130126953125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.2158203125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.595947265625) Difference in memory usage: int(0) -----------------------------
Output for 7.1.9
After 1 calls: Difference in milliseconds: float(0.000732421875) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.002685546875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.0380859375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.263916015625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.479248046875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(28.7548828125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.8
After 1 calls: Difference in milliseconds: float(-0.006103515625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001708984375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.0439453125) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.11376953125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.403076171875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(9.4580078125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.7
After 1 calls: Difference in milliseconds: float(-0.014892578125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.00146484375) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.028076171875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.16015625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.584228515625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(8.55517578125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.6
After 1 calls: Difference in milliseconds: float(-0.0048828125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0029296875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01806640625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.166748046875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.519287109375) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.756103515625) Difference in memory usage: int(0) -----------------------------
Output for 7.1.5
After 1 calls: Difference in milliseconds: float(-0.005126953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001220703125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.0107421875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.123291015625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.384033203125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.8720703125) Difference in memory usage: int(0) -----------------------------
Output for 7.1.4
After 1 calls: Difference in milliseconds: float(-0.005126953125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.000732421875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.01123046875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.152099609375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(2.64111328125) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(14.022216796875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.3
After 1 calls: Difference in milliseconds: float(-0.001708984375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.0107421875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.1015625) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.015869140625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(13.22021484375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.2
After 1 calls: Difference in milliseconds: float(-0.0048828125) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0009765625) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.009765625) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.10595703125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(0.97509765625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(12.237060546875) Difference in memory usage: int(0) -----------------------------
Output for 7.1.1
After 1 calls: Difference in milliseconds: float(-2.22998046875) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.0029296875) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.021240234375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.098876953125) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.0869140625) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(11.068115234375) Difference in memory usage: int(0) -----------------------------
Output for 7.1.0
After 1 calls: Difference in milliseconds: float(-0.0068359375) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.001953125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.043701171875) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.052490234375) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(1.57421875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(18.284912109375) Difference in memory usage: int(0) -----------------------------
Output for 5.6.38
After 1 calls: Difference in milliseconds: float(0.000244140625) Difference in memory usage: int(0) ----------------------------- After 10 calls: Difference in milliseconds: float(0.003173828125) Difference in memory usage: int(0) ----------------------------- After 100 calls: Difference in milliseconds: float(0.06787109375) Difference in memory usage: int(0) ----------------------------- After 1,000 calls: Difference in milliseconds: float(0.317138671875) Difference in memory usage: int(0) ----------------------------- After 10,000 calls: Difference in milliseconds: float(3.383544921875) Difference in memory usage: int(0) ----------------------------- After 100,000 calls: Difference in milliseconds: float(37.759033203125) Difference in memory usage: int(0) -----------------------------

preferences:
48.1 ms | 498 KiB | 5 Q