NAME Gzip::Faster - simple and fast gzip and gunzip SYNOPSIS # Make a random input string my $input = join '', map {int (rand (10))} 0..0x1000; use Gzip::Faster; # Compress the random string. my $gzipped = gzip ($input); # Uncompress it again. my $roundtrip = gunzip ($gzipped); # Put it into a file. gzip_to_file ($input, 'file.gz'); # Retrieve it again from the file. $roundtrip = gunzip_file ('fil
Test::mysqld::Multiというモジュールを書いてみたみたいな涙ぐましい努力により5分で終わるようになったテストですが、 プロジェクトのコードも増えて人も増えた影響で、 テスト時間が約7分まで伸び、テストのキューに10個近く並んで順番待ちさせられるという状況になってしまいした。 この状況を解決すべく go-prove というものを書いてみたので、そのご紹介です。 proveが遅い理由 proveがテストの結果を読むところがブロッキングI/Oになっているらしく、そのせいで遅くなっているらしいです。 Perl-Toolchain-Gang/Test-Harness#30 実際に結果読んでいるところはこの辺ですかね。 selectとか使っていてなるべくブロッキングしないような作りにはなっていそうですが、どこかでブロッキングしてしまっているようです。 今のプロジェクトだと32コアのCP
I’m very excited to tell you that today is my first day at Fastly as a software engineer. As a long time Fastly user myself, I’m thrilled to be part of the fast growing CDN that powers many sites, and am pretty glad to be able to work with so many good friends from Six Apart, Cookpad as well as new and old friends from Perl and Ruby community. I continue to be in San Francisco, and the HQ is a few
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く