並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 1 件 / 1件

新着順 人気順

apache2.4の検索結果1 - 1 件 / 1件

  • CentOSとApache2.4でmod_perl(超高速)

    mod_perlについて mod_perlはPerlスクリプトを高速化する仕組みで、「ModPerl::PerlRun」モードではインタプリタ(Perlの実行エンジン的なもの)をメモリに保持し、「ModPerl::Registry」モードではインタプリタに加えてコード全体もメモリに保持するのでグローバル変数なんかは次回呼び出し時にも残ります。 実行速度よりもオーバーヘッドが減る感じですが、比較として以下の適当なスクリプトを実行してみます。 #!/usr/bin/perl print "Content-type: text/html\n\n"; print "<html><body><pre>"; print "test"; print "</pre></body></html>"; テストは「Apache Bench」を使います。 ab -c 10 -n 10000 http://loca

      CentOSとApache2.4でmod_perl(超高速)
    1