Skip to content

Instantly share code, notes, and snippets.

@yappo
yappo / gist:11389
Created September 18, 2008 06:32 — forked from hirose31/gist:11387
memslap --concurrency=20 --execute-number=100000 --initial-load=100000 --servers=mcd1 --test get
set/s get/s
=============================
1.2.6 14457 59459
binprot ASCII 13923 92950
binprot BINARY 13985 102328
@yappo
yappo / gist:20009
Created October 27, 2008 02:55 — forked from eto/gist:20008
皆様,
産総研の江渡です.お世話になっております.
第130回SIGHCI研究会の参加募集です.
今回は招待講演が3件もあり,充実しています.
今回は特に,ニコニコ動画の開発者として有名な戀塚昭彦氏に来ていただける
ことになりました.ニコニコ動画の裏側に,どのようなインタラクション上の
工夫があるかについてお話ししていただきます.
use strict;
use warnings;
use Test::More tests => 2;
do {
package Class1;
use Mouse;
has A => (
is => 'ro',
use strict;
use warnings;
use Test::More tests => 4;
do {
package Class1;
use Mouse;
has l => (
is => 'ro',
package X;
use Moose;
has foo => (
is => 'rw',
);
package A;
use Moose;
Writing Makefile for HTTP::Headers::Fast
cp lib/HTTP/Headers/Fast.pm blib/lib/HTTP/Headers/Fast.pm
Manifying blib/man3/HTTP::Headers::Fast.3pm
TOKUHIROM/HTTP-Headers-Fast-0.05.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t
t/00_compile................ok
t/01-compat.................1/4
# Failed test at t/01-compat.t line 21.
P.14
- $self->SUPER($client, $request)
+ $self->SUPER::write_response($client, $request)
P.26 図1.3
- Mamma
+ Mammal
use strict;
use warnings;
use local::lib shift || undef;
exec 'cpan';
gcc -D_REENTRANT -I. -I.. -fno-strict-aliasing -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers -Wformat=2 -Wstrict-aliasing=2 -Wdisabled-optimization -Wfloat-equal -Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wredundant-decls -Winline --param max-inline-insns-single=12000 --param large-function-growth=28000 --param inline-unit-growth=400 -MT com.lo -MD -MP -MF .deps/com.Tpo -c com.c -fno-common -DPIC -o .libs/com.o
com.c: In function 'grn_com_event_poll':
com.c:255: error: 'dummy' undeclared (first use in this function)
com.c:255: error: (Each undeclared identifier is reported only once
com.c:255: error: for each function it appears in.)
make[2]: *** [com.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
HTTP::Engine->new(
interface => {
module => 'ServerSimple',
args => {
host => 'localhost',
port => '1919',
net_server => 'Net::Server::PreForkSimple',
},
request_handler => sub {}
}