prometheus/rules
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
..
ast Minor cleanups. 2014-11-25 17:07:44 +01:00
fixtures Add alertmanager notification support to Prometheus. 2013-07-30 17:23:41 +02:00
manager Major code cleanup. 2014-11-25 17:02:53 +01:00
alerting.go Major code cleanup. 2014-11-25 17:02:53 +01:00
helpers.go Let consoles get graph links from experssions. 2014-11-25 17:01:59 +01:00
helpers_test.go Fix and improve the fp locker. 2014-11-25 17:07:45 +01:00
lexer.l Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
lexer.l.go Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
load.go Use github.com/golang/glog for all logging. 2013-08-12 17:54:36 +02:00
Makefile Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
parser.y Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
parser.y.go Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
recording.go Major code cleanup. 2014-11-25 17:02:53 +01:00
rules.go Major code cleanup. 2014-11-25 17:02:53 +01:00
rules_test.go Fix and improve the fp locker. 2014-11-25 17:07:45 +01:00