prometheus/retrieval
Julius Volz 7f5d3c2c29 Fix and improve the fp locker.
Benchmark:
$ go test -bench 'Fingerprint' -test.run 'Fingerprint' -test.cpu=1,2,4

OLD
BenchmarkFingerprintLockerParallel        500000              3618 ns/op
BenchmarkFingerprintLockerParallel-2      100000             12257 ns/op
BenchmarkFingerprintLockerParallel-4      500000             10164 ns/op
BenchmarkFingerprintLockerSerial        10000000               283 ns/op
BenchmarkFingerprintLockerSerial-2      10000000               284 ns/op
BenchmarkFingerprintLockerSerial-4      10000000               288 ns/op

NEW
BenchmarkFingerprintLockerParallel       1000000              1018 ns/op
BenchmarkFingerprintLockerParallel-2     1000000              1164 ns/op
BenchmarkFingerprintLockerParallel-4     2000000               910 ns/op
BenchmarkFingerprintLockerSerial        50000000                56.0 ns/op
BenchmarkFingerprintLockerSerial-2      50000000                47.9 ns/op
BenchmarkFingerprintLockerSerial-4      50000000                54.5 ns/op

Change-Id: I3c65a43822840e7e64c3c3cfe759e1de51272581
2014-11-25 17:07:45 +01:00
..
helpers_test.go Remove backoff on scrape failure. 2014-11-25 17:02:00 +01:00
ingester.go Add global label support via Ingesters. 2013-08-13 16:54:15 +02:00
interface_test.go Remove backoff on scrape failure. 2014-11-25 17:02:00 +01:00
target.go Fix the accept header. 2014-11-25 17:02:00 +01:00
target_provider.go Make metrics exported by the Prometheus server itself more consistent. 2014-11-25 17:02:00 +01:00
target_test.go Stagger scrapes to spread out load. 2014-11-25 17:02:00 +01:00
targetmanager.go Stagger scrapes to spread out load. 2014-11-25 17:02:00 +01:00
targetmanager_test.go Stagger scrapes to spread out load. 2014-11-25 17:02:00 +01:00
targetpool.go Fix and improve the fp locker. 2014-11-25 17:07:45 +01:00
targetpool_test.go Stagger scrapes to spread out load. 2014-11-25 17:02:00 +01:00