Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Side by Side Diff: fuzzer/go/fuzzcache/fuzzcache.go

Issue 1691893002: Fuzzer now deduplicates on the analysis side instead of the download side (Closed) Base URL: https://skia.googlesource.com/buildbot@metrics
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fuzzer/go/frontend/syncer/fuzz_syncer.go ('k') | fuzzer/go/fuzzcache/fuzzcache_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package fuzzcache 1 package fuzzcache
2 2
3 import ( 3 import (
4 "bytes" 4 "bytes"
5 "encoding/gob" 5 "encoding/gob"
6 "fmt" 6 "fmt"
7 7
8 "github.com/boltdb/bolt" 8 "github.com/boltdb/bolt"
9 » "go.skia.org/infra/fuzzer/go/frontend/data" 9 » "go.skia.org/infra/fuzzer/go/data"
10 ) 10 )
11 11
12 const REPORT_KEY = "report-" 12 const REPORT_KEY = "report-"
13 13
14 var FUZZ_NAMES_KEY = []byte("fuzz_names") 14 var FUZZ_NAMES_KEY = []byte("fuzz_names")
15 15
16 type FuzzReportCache struct { 16 type FuzzReportCache struct {
17 DB *bolt.DB 17 DB *bolt.DB
18 } 18 }
19 19
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 return nil 114 return nil
115 } 115 }
116 return b.DB.Update(storeFunc) 116 return b.DB.Update(storeFunc)
117 } 117 }
118 118
119 // Close closes the underlying data.FuzzReportCache, returning any errors the in stance returns. 119 // Close closes the underlying data.FuzzReportCache, returning any errors the in stance returns.
120 func (b *FuzzReportCache) Close() error { 120 func (b *FuzzReportCache) Close() error {
121 return b.DB.Close() 121 return b.DB.Close()
122 } 122 }
OLDNEW
« no previous file with comments | « fuzzer/go/frontend/syncer/fuzz_syncer.go ('k') | fuzzer/go/fuzzcache/fuzzcache_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698