lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "BenchmarkingSolr" by ShawnHeisey
Date Mon, 12 Apr 2010 15:56:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "BenchmarkingSolr" page has been changed by ShawnHeisey.
http://wiki.apache.org/solr/BenchmarkingSolr?action=diff&rev1=2&rev2=3

--------------------------------------------------

  = Benchmarking Solr =
+ == Perl script (originally by ShawnHeisey) ==
+ It's not very polished.  Requires the Time::HiRes, Statistics::Descriptive, IO::Handle,
and LWP::Simple Perl modules.  As written, it will not work on Windows.  If you wish to include
the time required to write the query results to disk, there are some lines commented, just
uncomment them.  Although it does provide an average request time, I believe the median, 95th
percentile, and 99th percentile values it outputs are more useful.  The "if length $outputDir"
tests on the rm lines are intentional to avoid erasing everything in the root directory if
that variable somehow gets unset.
  
- == Perl script (originally by ShawnHeisey) ==
- 
- It's not very polished.  Requires the Time::Hi``Res, Statistics::Descriptive, IO::Handle,
and LWP::Simple Perl modules.  As written, it will not work on Windows.  If you wish to include
the time required to write the query results to disk, there are some lines commented, just
uncomment them.  Although it does provide an average request time, I believe the median, 95th
percentile, and 99th percentile values it outputs are more useful.  The "if length $outputDir"
tests on the rm lines are intentional to avoid erasing the entire filesystem if that variable
somehow gets unset.
- 
- {{{
- #!ignoreme
+ {{{#!ignoreme
  #!/usr/bin/perl
  
  #--- start config ---
@@ -121, +118 @@

  
  exit 0;
  }}}
+ Sample output:
  
- Sample output:
  {{{
   Req/s: 144.035 (28.188 sec, requests 4060/4096)
     Avg: 0.052

Mime
View raw message