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
# THIS TEST DOESN'T PASS WITH PERL 5.10 | |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Test::More tests => 2; | |
use Test::Exception; | |
use Moose::Meta::Class; |
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
# THIS TEST DOESN'T PASS WITH PERL 5.10 | |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Test::More tests => 2; | |
use Test::Exception; | |
use Moose::Meta::Class; |
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
0307200, 19247104 # Encode | |
0405504, 12943360 # POE::Sugar::Args | |
0405504, 19980288 # HTTP::Request | |
0405504, 28332032 # Template | |
0405504, 34455552 # App::Mobirc::Web::Template::IPhone | |
0536576, 30158848 # HTTP::Engine::Request | |
0540672, 34996224 # App::Mobirc::Web::Template::MobileAjax | |
0671744, 36478976 # App::Mobirc::Web::Template::IRCMessage | |
0675840, 17690624 # POE::Component::IRC::Plugin::DCC | |
0720896, 38146048 # App::Mobirc::Plugin::Authorizer::Cookie |
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
=== lib/CPAN/Mini/Webserver/Templates.pm | |
================================================================== | |
--- lib/CPAN/Mini/Webserver/Templates.pm (revision 24233) | |
+++ lib/CPAN/Mini/Webserver/Templates.pm (local) | |
@@ -593,10 +593,12 @@ | |
attr { class => 'span-18 last' }; | |
# outs_raw '<table>'; | |
- my ( @code, @test, @other ); | |
+ my ( @code, @test, @other, @doc ); |
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
# | |
# Fatal error in v8::HandleScope::CreateHandle() | |
# Cannot create a handle without a HandleScope | |
# | |
zsh: abort ./llv8call examples/urlfetch.js |
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
TRY 100000 | |
-- python | |
python: 100000 | |
Result: 100000 | |
python2.5 python.py $NUM 1.51s user 5.92s system 57% cpu 13.010 total | |
-- perl | |
TRY 100000 | |
Result : 100000 | |
perl perl.pl $NUM 1.79s user 6.03s system 59% cpu 13.104 total | |
-- ruby |
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
#include <libmemcached/memcached.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <time.h> | |
#define KEY "counter" | |
#define KEYLEN 7 | |
int main (int argc, char **argv) { | |
uint64_t buf; |
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
gp.ath.cx{tokuhirom}% ./memslap --servers=127.0.0.1:11212 --concurrency=100 --execute-number=1000 --binary | |
Threads connecting to servers 100 | |
Took 1.686 seconds to load data | |
gp.ath.cx{tokuhirom}% ./memslap --servers=127.0.0.1:11212 --concurrency=100 --execute-number=1000 | |
Threads connecting to servers 100 | |
Took 1.910 seconds to load data | |
gp.ath.cx{tokuhirom}% ./memslap --servers=127.0.0.1:11212 --concurrency=10 --execute-number=1000 --binary | |
Threads connecting to servers 10 | |
Took 0.503 seconds to load data | |
gp.ath.cx{tokuhirom}% ./memslap --servers=127.0.0.1:11212 --concurrency=10 --execute-number=1000 |
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
#!/usr/bin/perl | |
# see http://rt.cpan.org/Public/Bug/Display.html?id=37027#txn-497961 | |
use strict; | |
use warnings; | |
use DBI; | |
use YAML; | |
use IO::Prompt; | |
&main; exit; | |
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
### 1 | |
Rate pp lib fast | |
pp 4284/s -- -86% -92% | |
lib 30120/s 603% -- -40% | |
fast 50505/s 1079% 68% -- | |
### 5 | |
Rate pp lib fast | |
pp 2939/s -- -86% -92% | |
lib 20492/s 597% -- -45% | |
fast 37037/s 1160% 81% -- |