Skip to content
Chris Heald edited this page Feb 18, 2014 · 16 revisions

Since all the heavy lifting is done in compiled Java, it should be no surprise that Manticore is very fast.

ruby_http_benchmark was used to compare throughput for various frameworks, including:

  • Manticore
  • Typhoeus
  • HTTPClient
  • HTTParty
  • rest-client

The benchmark was invoked with -J-Djruby.jit.threshold=10 -J-Djruby.jit.max=-1 to cause methods to JIT quickly, and performs several hundred passes in various scenarios, including:

  • Synchronous download of 1k, 10k, 100k, 1000k, and 10,000k files, both gzipped and plaintext
  • Asynchronous download of 1k, 10k, 100k, 1000k, and 10,000k files, both gzipped and plaintext, at a concurrency rate of 8

Results were collected as gnuplot graphs and the 90th percentile of requests charted as boxplots to illustrate their standard maxima, minima, average, and outliers.

Synchronous, Uncompressed

Synchronous download of 500 1kb uncompressed files

Synchronous download of 500 1kb uncompressed files

Synchronous download of 500 10kb uncompressed files

Synchronous download of 500 10kb uncompressed files

Synchronous download of 500 100kb uncompressed files

Synchronous download of 500 100kb uncompressed files

Synchronous download of 100 1000kb uncompressed files

Synchronous download of 100 1000kb uncompressed files

Synchronous download of 100 10000kb uncompressed files

Synchronous download of 100 10000kb uncompressed files

Synchronous, Compressed

Synchronous download of 500 1kb gzipped files

Synchronous download of 500 1kb gzipped files

Synchronous download of 500 10kb gzipped files

Synchronous download of 500 10kb gzipped files

Synchronous download of 500 100kb gzipped files

Synchronous download of 500 100kb gzipped files

Synchronous download of 100 1000kb gzipped files

Synchronous download of 100 1000kb gzipped files

Synchronous download of 100 10000kb gzipped files

Synchronous download of 100 10000kb gzipped files

Parallel, Uncompressed

Parallel download of 500 1kb uncompressed files

Parallel download of 500 1kb uncompressed files

Parallel download of 500 10kb uncompressed files

Parallel download of 500 10kb uncompressed files

Parallel download of 500 100kb uncompressed files

Parallel download of 500 100kb uncompressed files

Parallel download of 100 1000kb uncompressed files

Parallel download of 100 1000kb uncompressed files

Parallel download of 100 10000kb uncompressed files

Parallel download of 100 10000kb uncompressed files

Parallel, Compressed

Parallel download of 500 1kb gzipped files

Parallel download of 500 1kb gzipped files

Parallel download of 500 10kb gzipped files

Parallel download of 500 10kb gzipped files

Parallel download of 500 100kb gzipped files

Parallel download of 500 100kb gzipped files

Parallel download of 100 1000kb gzipped files

Parallel download of 100 1000kb gzipped files

Parallel download of 100 10000kb gzipped files

Parallel download of 100 10000kb gzipped files

Clone this wiki locally