Skip to content

Benchmarks

Trey Pendragon edited this page Aug 16, 2017 · 2 revisions

08/15/17 - raw_fedora_adapter branch

This run was done after introducing the raw fedora adapter.

Raw Fedora

adapter test user system total real
raw_fedora create 100 children 0.890000 0.270000 1.160000 (2.845345)
raw_fedora save parent with 100 children 0.250000 0.010000 0.260000 (0.365764)
raw_fedora reload parent with 100 children 0.130000 0.010000 0.140000 (0.362584)
raw_fedora add one more page to a parent with 100 existing children 0.310000 0.000000 0.310000 (0.643547)

Postgres

adapter test user system total real
postgres create 100 children 0.200000 0.020000 0.220000 (0.281243)
postgres save parent with 100 children 0.010000 0.000000 0.010000 (0.007763)
postgres reload parent with 100 children 0.000000 0.010000 0.010000 (0.005005)
postgres add one more page to a parent with 100 existing children 10.020000 0.000000 0.020000 (0.015153)

Fedora (with ActiveFedora)

adapter test user system total real
fedora create 100 children 6.580000 0.630000 7.210000 (24.433110)
fedora save parent with 100 children 1.870000 0.110000 1.980000 (3.050182)
fedora reload parent with 100 children 0.240000 0.010000 0.250000 (0.396591)
fedora add one more page to a parent with 100 existing children 3.300000 0.140000 3.440000 (5.364773)

In-Memory

adapter test user system total real
memory create 100 children 0.040000 0.020000 0.060000 (0.062199)
memory save parent with 100 children 0.000000 0.000000 0.000000 (0.000696)
memory reload parent with 100 children 0.000000 0.000000 0.000000 (0.000013)
memory add one more page to a parent with 100 existing children 0.000000 0.000000 0.000000 (0.000635)

Solr

adapter test user system total real
index_solr create 100 children 0.210000 0.060000 0.270000 (1.964871)
index_solr save parent with 100 children 0.010000 0.000000 0.010000 (0.030413)
index_solr reload parent with 100 children 0.010000 0.000000 0.010000 (0.023723)
index_solr add one more page to a parent with 100 existing children 0.010000 0.000000 0.010000 (0.032520)

Indexing Persister (metadata to postgres and also index to solr)

adapter test user system total real
indexing_persister create 100 children 0.270000 0.050000 0.320000 (0.419024)
indexing_persister save parent with 100 children 0.010000 0.000000 0.010000 (0.046589)
indexing_persister reload parent with 100 children 0.000000 0.000000 0.000000 (0.001858)
indexing_persister add one more page to a parent with 100 existing children 0.030000 0.000000 0.030000 (0.085079)
Clone this wiki locally