MCPcopy Create free account

hub / github.com/dgraph-io/dgraph-benchmarks / functions

Functions1,693 in github.com/dgraph-io/dgraph-benchmarks

↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:21952
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22038
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22166
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22273
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22361
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22462
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22781
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22865
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:22966
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:23253
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:23386
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:23576
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:23865
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:24034
↓ 1 callersMethodUnmarshal
(dAtA []byte)
bitmap/pb.pb.go:24103
↓ 1 callersMethodbatch_vector_search
Perform batch vector search. Args: query_embeddings: Dictionary mapping query_id to embedding top_k:
vector/beir/dgraph_client.py:236
↓ 1 callersFunctionbody
(rdf string)
scripts/mutations/mutation.go:35
↓ 1 callersMethodclose
Close the Dgraph client connection.
vector/beir/dgraph_client.py:274
↓ 1 callersFunctioncompare
(srcl, dstl []R)
scripts/verify/main.go:113
↓ 1 callersFunctionconvertTypes
(path, outputPath string)
scripts/add-types/convertTypes.go:93
↓ 1 callersFunctiondataframe_to_rdf
(data, filehandle = sys.stdout)
data/social/generate.py:19
↓ 1 callersFunctiondoGen
()
indextest/forward/forward.go:218
↓ 1 callersFunctiondoGood
()
indextest/backward/backward.go:151
↓ 1 callersFunctiondoWork
(id int, c *y.Closer, work <-chan string, outDir string)
twitterdata/postprocess/postprocess.go:154
↓ 1 callersFunctiondoWork
(id int, c *y.Closer, work <-chan interface{}, outDir string)
twitterdata/stream/stream.go:73
↓ 1 callersMethodembed_corpus
Generate embeddings for BEIR corpus. Args: corpus: BEIR corpus dictionary {doc_id: {"title": ..., "text": ...}}
vector/beir/embeddings.py:93
↓ 1 callersMethodembed_queries
Generate embeddings for BEIR queries. Args: queries: BEIR queries dictionary {query_id: query_text}
vector/beir/embeddings.py:139
↓ 1 callersFunctionequal
(a, b R)
scripts/verify/main.go:49
↓ 1 callersFunctionfetch_cache_metrics
Fetch posting list cache metrics from Dgraph Prometheus endpoint.
vector/beir/evaluate.py:113
↓ 1 callersFunctionfindAndWrite
(idx int, tr trie.Trie, ch chan string, sw *SyncWriter, wg *sync.WaitGroup)
finder/entity.go:71
↓ 1 callersFunctionfindFeatureArray
(dec *json.Decoder)
geofreebase/main.go:38
↓ 1 callersFunctionfindFeatureArray
(dec *json.Decoder)
geotordf/main.go:25
↓ 1 callersFunctiongenerate_data
(size=500)
data/social/generate.py:11
↓ 1 callersFunctiongetBenchCaches
getBenchCaches() returns a slice of benchCache's depending on the value of the include params (which is the cache/suite flags passed from main).
cachebench/ristretto/bench.go:139
↓ 1 callersFunctiongetRatio
(q string, hc *http.Client, c graph.DGraphClient)
pbbenchmark/main.go:49
↓ 1 callersFunctiongetReader
(fname string)
data/neo4j/main.go:46
↓ 1 callersFunctiongetResponse
(q string)
regression/replay/main.go:46
↓ 1 callersFunctiongetStrVal
(rnq graph.NQuad)
data/neo4j/main.go:60
↓ 1 callersFunctionget_config
Get the default configuration.
vector/beir/config.py:122
↓ 1 callersFunctionget_dgraph_version
Get Dgraph version from health endpoint. Args: host: Dgraph alpha host port: Dgraph alpha HTTP port Returns
vector/beir/evaluate.py:53
↓ 1 callersFunctiongrep
(tr *trie.Trie)
finder/entity.go:111
↓ 1 callersMethodhandleNQuads
(db *neoism.Database, wg *sync.WaitGroup)
neo/loader.go:135
↓ 1 callersFunctioninsert_benchmark
Insert a benchmark JSON file as the first data row in the CSV.
vector/beir/insert_benchmark.py:11
↓ 1 callersMethodinsert_documents
Insert documents with embeddings into Dgraph. Args: corpus: BEIR corpus dictionary embeddings: Dicti
vector/beir/dgraph_client.py:71
↓ 1 callersFunctionisRequired
(nq protos.NQuad)
convert/main.go:23
↓ 1 callersFunctionload_beir_dataset
Load BEIR dataset, downloading if necessary. Args: dataset_name: Name of the BEIR dataset (e.g., 'scifact') data_dir: Di
vector/beir/evaluate.py:18
↓ 1 callersFunctionload_csv_results
Load results from CSV file.
vector/beir/view_results.py:43
↓ 1 callersFunctionmain
()
vector/beir/view_results.py:247
↓ 1 callersFunctionmain
()
vector/beir/generate_test_query.py:13
↓ 1 callersFunctionmain
()
vector/beir/insert_benchmark.py:84
↓ 1 callersFunctionmain
Main evaluation pipeline.
vector/beir/evaluate.py:197
↓ 1 callersFunctionmakeRequest
(mutation chan string, c *uint64, wg *sync.WaitGroup)
scripts/mutations/mutation.go:47
↓ 1 callersFunctionmakeRequests
(d bolt.DriverPool, wg *sync.WaitGroup, rc chan request)
data/neo4j/main.go:83
↓ 1 callersFunctionmatch32MSB
(num1, num2 uint64)
bitmap/codec.go:439
↓ 1 callersFunctionnewList
()
bitmap/main_test.go:320
↓ 1 callersFunctionnewTwitterClient
(creds *twitterCreds)
twitterdata/stream/stream.go:125
↓ 1 callersFunctionnumChildren
(node *graph.Node)
pbbenchmark/main.go:41
↓ 1 callersFunctiononeKeyList
()
cachebench/cache_bench_test.go:84
↓ 1 callersFunctionparseMessage
(message string)
twitterdata/postprocess/postprocess.go:219
↓ 1 callersMethodparseStream
(done chan error)
neo/loader.go:98
↓ 1 callersFunctionprintCounters
(ticker *time.Ticker)
data/neo4j/main.go:127
↓ 1 callersMethodprintCounters
(ticker *time.Ticker)
neo/loader.go:49
↓ 1 callersFunctionprintTypePreds
typeName should include the escaped quotes, e.g "\"Person\""
scripts/add-types/lists_preds.go:14
↓ 1 callersFunctionprintTypes
(path string)
scripts/add-types/types.go:13
↓ 1 callersFunctionprint_summary_table
Print a compact summary table.
vector/beir/view_results.py:205
↓ 1 callersFunctionprint_table
Print results as a formatted table.
vector/beir/view_results.py:83
↓ 1 callersFunctionprocessFile
(path string, work chan<- string)
twitterdata/postprocess/postprocess.go:131
↓ 1 callersFunctionprocessMessage
(writer io.Writer, message string)
twitterdata/postprocess/postprocess.go:205
↓ 1 callersFunctionreadCredentials
(path string)
twitterdata/stream/stream.go:108
↓ 1 callersFunctionreadLine
Reads a single line from a buffered reader. The line is read into the passed in buffer to minimize allocations. This is the preferred method for loadi
scripts/mutations/mutation.go:78
↓ 1 callersMethodreadLines
(r io.Reader)
neo/loader.go:71
↓ 1 callersMethodreset_database
Drop all data and schema.
vector/beir/dgraph_client.py:64
↓ 1 callersFunctionrunCacheBenchmark
======================================================================== Benchmark Code ==============================================================
cachebench/cache_bench_test.go:329
↓ 1 callersFunctionrunQuery
(qch chan Query, wg *sync.WaitGroup)
regression/replay/main.go:71
↓ 1 callersFunctionrunUser
(wg *sync.WaitGroup)
loadtest/throughPut.go:35
↓ 1 callersFunctionrunUser
(wg *sync.WaitGroup)
loadtest/pinger.go:35
↓ 1 callersFunctionsave
save writes all logs to the PATH file in CSV format.
cachebench/ristretto/bench.go:205
↓ 1 callersFunctionsave_results_to_csv
Append evaluation results to CSV file.
vector/beir/evaluate.py:145
↓ 1 callersMethodsetup_schema
Set up the Dgraph schema for BEIR documents. Args: hnsw_config: HNSW index configuration
vector/beir/dgraph_client.py:37
↓ 1 callersFunctiontweetToJSON
(writer io.Writer, tweet *anaconda.Tweet)
twitterdata/postprocess/postprocess.go:232
↓ 1 callersFunctiontypeValFrom
(val *api.Value)
orientdb/transform/main.go:30
↓ 1 callersMethodvector_search
Perform vector similarity search with computed similarity scores. Args: query_embedding: Query embedding vector
vector/beir/dgraph_client.py:118
↓ 1 callersFunctionzipfKeyList
======================================================================== Possible workloads ==========================================================
cachebench/cache_bench_test.go:67
MethodApproxLen
ApproxLen returns the approximate number of UIDs in the UidPack object.
bitmap/codec.go:226
MethodAssignIds
(ctx context.Context, in *Num, opts ...grpc.CallOption)
bitmap/pb.pb.go:5819
MethodAssignIds
(context.Context, *Num)
bitmap/pb.pb.go:5863
MethodAssignIds
(ctx context.Context, req *Num)
bitmap/pb.pb.go:5888
MethodBackup
(ctx context.Context, in *BackupRequest, opts ...grpc.CallOption)
bitmap/pb.pb.go:6215
MethodBackup
(context.Context, *BackupRequest)
bitmap/pb.pb.go:6334
MethodBackup
(ctx context.Context, req *BackupRequest)
bitmap/pb.pb.go:6362
FunctionBenchmarkAnd
This is taking 16ms. Clone itself takes ~4ms. So, ~12ms for AND.
bitmap/main_test.go:342
FunctionBenchmarkCaches
(b *testing.B)
cachebench/cache_bench_test.go:360
FunctionBenchmarkCardinality
This is taking 60 microseconds over 1M entries.
bitmap/main_test.go:39
FunctionBenchmarkClone
Clone is taking ~5ms.
bitmap/main_test.go:178
FunctionBenchmarkContains
Bitmap runs in 177 ns/op. List search in 252 ns/op. UidPack search is 3024 ns/op.
bitmap/main_test.go:269
FunctionBenchmarkCopyOnWrite
(b *testing.B)
bitmap/main_test.go:240
FunctionBenchmarkDgraph
(b *testing.B)
data/neo4j/query_test.go:42
FunctionBenchmarkFromArray
This is taking 22ms for 1M entries.
bitmap/main_test.go:59
FunctionBenchmarkList
Each add is 24ns.
bitmap/main_test.go:16
FunctionBenchmarkMarshal
Marshal bitmap is taking 3.2ms. pack is taking <1ms.
bitmap/main_test.go:72
← previousnext →301–400 of 1,693, ranked by callers