Some performance numbers from a simple test

Petter Reinholdtsen pere at hungry.com
Fri Feb 3 16:43:28 CET 2017


I wrote a simple script to import a short post journal I had laying
around, and did some simple measurements.  I ran top and wrote down VIRT
and RES values just after starting, and after the import was done.  The
import script loaded 8333 journal entries with case (sak) = mappe, empty
record/registrering and document title = dokumentbeskrivelse.

The import took 3 minutes 35 seconds (ie 1/39 seconds per insert) and
increased VIRT size by 281036 kilobytes (ie 34 kibibytes per insert).
RES increased by 392454 kilobytes (ie 48 kibibytes per insert).

I hope I am doing it wrong, as this was quite a lot more memory usage
than expected. :)

And using this naive approach will take 13 years to insert 20 million
entries. :)

Btw, is searching implemented?

-- 
Happy hacking
Petter Reinholdtsen


More information about the nikita-noark mailing list