MCPcopy Index your code
hub / github.com/dgraph-io/dgraph-benchmarks

github.com/dgraph-io/dgraph-benchmarks @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,860 symbols 3,482 edges 44 files 121 documented · 7% updated 17d ago★ 102
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RDF Data for performing benchmarks

Please ensure you have Git LFS installed, before you clone this repository. There's currently around 450MB worth data in this repository.

To get clone with repo with references to lfs-ed files:

GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/dgraph-io/dgraph-benchmarks.git

Extension points exported contracts — how you extend this code

Cache (Interface)
(no doc) [7 implementers]
cachebench/cache_bench_test.go
Cache (Interface)
(no doc) [7 implementers]
cachebench/ristretto/cache.go

Core symbols most depended-on inside this repo

Close
called by 55
cachebench/ristretto/cache.go
Write
called by 26
finder/entity.go
Add
called by 24
bitmap/codec.go
Get
called by 20
cachebench/ristretto/cache.go
Set
called by 19
cachebench/ristretto/cache.go
Next
called by 16
bitmap/codec.go
String
called by 14
scripts/verify/main.go
Done
called by 14
bitmap/codec.go

Shape

Method 1,472
Function 221
Struct 124
Interface 22
TypeAlias 12
Class 8
FuncType 1

Languages

Go97%
Python3%

Modules by API surface

bitmap/pb.pb.go1,509 symbols
cachebench/ristretto/cache.go63 symbols
cachebench/cache_bench_test.go32 symbols
bitmap/codec.go29 symbols
cachebench/ristretto/bench.go27 symbols
bitmap/main_test.go16 symbols
scripts/verify/main.go12 symbols
vector/beir/config.py11 symbols
vector/beir/embeddings.py10 symbols
twitterdata/postprocess/postprocess.go10 symbols
cachebench/ristretto/generate.go10 symbols
vector/beir/view_results.py9 symbols

For agents

$ claude mcp add dgraph-benchmarks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact