[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inverted index to accelerate guix package search
From: |
Arun Isaac |
Subject: |
Re: Inverted index to accelerate guix package search |
Date: |
Mon, 13 Jan 2020 20:38:00 +0530 |
> Those measures don't seem precise enough to draw a good conclusion.
> Could you increase the sample size (or maybe just loop?) so that all
> times reach over a second or so?
Indeed, my bad! Here are better timing results. I have repeated each of
the searches a 1000 times, and I'm getting around 90x speedup! :-)
Building index
clock utime stime cutime cstime gctime
9.76 12.50 0.18 0.00 0.00 6.16
Brute force search (repeated 1000 times)
clock utime stime cutime cstime gctime
195.95 264.13 0.90 0.00 0.00 142.62
Inverted index search (repeated 1000 times)
clock utime stime cutime cstime gctime
2.18 2.48 0.00 0.00 0.00 0.60
Also, find attached the updated proof of concept script.
Cheers!
inverted-index-poc.scm
Description: Text document
signature.asc
Description: PGP signature
- Inverted index to accelerate guix package search, Arun Isaac, 2020/01/12
- Re: Inverted index to accelerate guix package search, Pierre Neidhardt, 2020/01/13
- Re: Inverted index to accelerate guix package search,
Arun Isaac <=
- Re: Inverted index to accelerate guix package search, zimoun, 2020/01/13
- Re: Inverted index to accelerate guix package search, Bengt Richter, 2020/01/13
- Re: Inverted index to accelerate guix package search, Pierre Neidhardt, 2020/01/14
- Re: Inverted index to accelerate guix package search, Giovanni Biscuolo, 2020/01/14
- Re: Inverted index to accelerate guix package search, zimoun, 2020/01/14
- Re: Inverted index to accelerate guix package search, Pierre Neidhardt, 2020/01/14
- Re: Inverted index to accelerate guix package search, zimoun, 2020/01/14
- Re: Inverted index to accelerate guix package search, Pierre Neidhardt, 2020/01/15
- Re: Inverted index to accelerate guix package search, zimoun, 2020/01/15
- Re: Inverted index to accelerate guix package search, Giovanni Biscuolo, 2020/01/15