This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$performGC = false; | |
if ($performGC) { | |
echo "GC collection will be done - app should not crash.\n"; | |
} | |
else { | |
echo "GC collection won't be done - app should crash.\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prevent strace from abbreviating arguments? | |
# You want the -s strsize option, which specifies the maximum length of a string to display (the default is 32). | |
# running siege | |
# siege -d10 -c50 http://basereality.test | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$numbers = []; | |
define('size', 10000); | |
for ($i=0 ; $i<size; $i++) { | |
$numbers[] = $i; | |
} |
OlderNewer