Skip to content

Commit

Permalink
tbs
Browse files Browse the repository at this point in the history
  • Loading branch information
rlmanrique committed Jan 8, 2025
1 parent 57fd089 commit 85952e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions benchmarker/cmd/ann_benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ type ResultsJSONBenchmark struct {
HeapInuseBytes float64 `json:"heap_inuse_bytes"`
HeapSysBytes float64 `json:"heap_sys_bytes"`
Timestamp string `json:"timestamp"`
Branch string `json:"branch"`
Commit string `json:"commit"`
}

// Convert an int to a uuid formatted string
Expand Down Expand Up @@ -966,8 +964,6 @@ func runQueries(cfg *Config, importTime time.Duration, testData [][]float32, nei
HeapInuseBytes: memstats.HeapInuseBytes,
HeapSysBytes: memstats.HeapSysBytes,
Timestamp: time.Now().Format(time.RFC3339),
Branch: cfg.Branch,
Commit: cfg.Commit,
}

jsonData, err := json.Marshal(benchResult)
Expand Down Expand Up @@ -1194,10 +1190,6 @@ func initAnnBenchmark() {
"filterStrategy", "sweeping", "Use a different filter strategy (options are sweeping or acorn)")
annBenchmarkCommand.PersistentFlags().IntVar(&globalConfig.ReplicationFactor,
"replicationFactor", 1, "Replication factor")
annBenchmarkCommand.PersistentFlags().StringVar(&globalConfig.Branch,
"branch", "main", "Branch name")
annBenchmarkCommand.PersistentFlags().StringVar(&globalConfig.Commit,
"commit", "1234567890", "Commit hash")
}

func benchmarkANN(cfg Config, queries Queries, neighbors Neighbors, filters []int) Results {
Expand Down
2 changes: 0 additions & 2 deletions benchmarker/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ type Config struct {
Filter bool
FlatSearchCutoff int
FilterStrategy string
Branch string
Commit string
}

func (c *Config) Validate() error {
Expand Down

0 comments on commit 85952e6

Please sign in to comment.