$start = microtime(true); for($i = 0; $i < 3000; $i++) { mysqli_query($res, "insert into app__debuglog VALUE (null,now(), 'msg : $i','callstack','user','debug_speed','vars')"); } $end = microtime(true); echo "Took " . ($end - $start) . " s\n";
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter