Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
cf51a0c4
Unverified
Commit
cf51a0c4
authored
Feb 18, 2026
by
Yan Ru Pei
Committed by
GitHub
Feb 18, 2026
Browse files
chore: gate plotters dependency behind bench feature (#6380)
Co-authored-by:
Cursor
<
cursoragent@cursor.com
>
parent
4d0380d5
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
256 deletions
+24
-256
Cargo.lock
Cargo.lock
+8
-240
lib/bindings/kvbm/Cargo.lock
lib/bindings/kvbm/Cargo.lock
+4
-4
lib/bindings/python/Cargo.lock
lib/bindings/python/Cargo.lock
+4
-4
lib/kv-router/Cargo.toml
lib/kv-router/Cargo.toml
+2
-2
lib/kv-router/benches/mooncake_bench.rs
lib/kv-router/benches/mooncake_bench.rs
+2
-2
lib/runtime/examples/Cargo.lock
lib/runtime/examples/Cargo.lock
+4
-4
No files found.
Cargo.lock
View file @
cf51a0c4
...
...
@@ -428,9 +428,9 @@ dependencies = [
[[package]]
name = "aws-lc-rs"
version = "1.1
5.4
"
version = "1.1
6.0
"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
7b7b6141e96a8c160799cc2d5adecd5cbbe5054cb8c7c4af53da0f83bb7ad256
"
checksum = "
d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9
"
dependencies = [
"aws-lc-sys",
"zeroize",
...
...
@@ -846,9 +846,9 @@ checksum = "f4ad8f11f288f48ca24471bbd51ac257aaeaaa07adae295591266b792902ae64"
[[package]]
name = "bumpalo"
version = "3.
19
.1"
version = "3.
20
.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5
dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510
"
checksum = "5
c6f81257d10a0f602a294ae4182251151ff97dbb504ef9afcdda4a64b24d9b4
"
[[package]]
name = "bytecount"
...
...
@@ -1312,42 +1312,6 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "core-graphics"
version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"
dependencies = [
"bitflags 1.3.2",
"core-foundation 0.9.4",
"core-graphics-types",
"foreign-types",
"libc",
]
[[package]]
name = "core-graphics-types"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"
dependencies = [
"bitflags 1.3.2",
"core-foundation 0.9.4",
"libc",
]
[[package]]
name = "core-text"
version = "20.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9d2790b5c08465d49f8dc05c8bcae9fea467855947db39b0f8145c091aaced5"
dependencies = [
"core-foundation 0.9.4",
"core-graphics",
"foreign-types",
"libc",
]
[[package]]
name = "core2"
version = "0.4.0"
...
...
@@ -1896,15 +1860,6 @@ dependencies = [
"syn 2.0.116",
]
[[package]]
name = "dlib"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
dependencies = [
"libloading",
]
[[package]]
name = "dlv-list"
version = "0.5.2"
...
...
@@ -1920,18 +1875,6 @@ version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "dwrote"
version = "0.11.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e1b35532432acc8b19ceed096e35dfa088d3ea037fe4f3c085f1f97f33b4d02"
dependencies = [
"lazy_static",
"libc",
"winapi 0.3.9",
"wio",
]
[[package]]
name = "dyn-clone"
version = "1.0.20"
...
...
@@ -2101,7 +2044,7 @@ dependencies = [
"humantime",
"hyper 1.8.1",
"hyper-util",
"image
0.25.9
",
"image",
"indicatif 0.18.4",
"insta",
"itertools 0.14.0",
...
...
@@ -2708,12 +2651,6 @@ dependencies = [
"zlib-rs",
]
[[package]]
name = "float-ord"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ce81f49ae8a0482e4c55ea62ebbd7e5a686af544c00b9d090bba3ff9be97b3d"
[[package]]
name = "float8"
version = "0.6.1"
...
...
@@ -2756,58 +2693,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
[[package]]
name = "font-kit"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c7e611d49285d4c4b2e1727b72cf05353558885cc5252f93707b845dfcaf3d3"
dependencies = [
"bitflags 2.11.0",
"byteorder",
"core-foundation 0.9.4",
"core-graphics",
"core-text",
"dirs",
"dwrote",
"float-ord",
"freetype-sys",
"lazy_static",
"libc",
"log",
"pathfinder_geometry",
"pathfinder_simd",
"walkdir",
"winapi 0.3.9",
"yeslogic-fontconfig-sys",
]
[[package]]
name = "foreign-types"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
dependencies = [
"foreign-types-macros",
"foreign-types-shared",
]
[[package]]
name = "foreign-types-macros"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.116",
]
[[package]]
name = "foreign-types-shared"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
[[package]]
name = "form_urlencoded"
version = "1.2.2"
...
...
@@ -2827,17 +2712,6 @@ dependencies = [
"num",
]
[[package]]
name = "freetype-sys"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e7edc5b9669349acfda99533e9e0bcf26a51862ab43b08ee7745c55d28eb134"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]]
name = "fs-err"
version = "3.3.0"
...
...
@@ -3173,16 +3047,6 @@ dependencies = [
"syn 2.0.116",
]
[[package]]
name = "gif"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
dependencies = [
"color_quant",
"weezl",
]
[[package]]
name = "gif"
version = "0.14.1"
...
...
@@ -3741,20 +3605,6 @@ dependencies = [
"icu_properties",
]
[[package]]
name = "image"
version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
dependencies = [
"bytemuck",
"byteorder",
"color_quant",
"jpeg-decoder",
"num-traits",
"png 0.17.16",
]
[[package]]
name = "image"
version = "0.25.9"
...
...
@@ -3765,11 +3615,11 @@ dependencies = [
"byteorder-lite",
"color_quant",
"exr",
"gif
0.14.1
",
"gif",
"image-webp",
"moxcms",
"num-traits",
"png
0.18.1
",
"png",
"qoi",
"ravif",
"rayon",
...
...
@@ -4078,12 +3928,6 @@ dependencies = [
"libc",
]
[[package]]
name = "jpeg-decoder"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
[[package]]
name = "js-sys"
version = "0.3.85"
...
...
@@ -5559,7 +5403,7 @@ dependencies = [
"clap 4.5.59",
"fancy-regex 0.13.0",
"futures",
"image
0.25.9
",
"image",
"regex",
"reqwest 0.12.28",
"rustc-hash 1.1.0",
...
...
@@ -5747,25 +5591,6 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
[[package]]
name = "pathfinder_geometry"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3"
dependencies = [
"log",
"pathfinder_simd",
]
[[package]]
name = "pathfinder_simd"
version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf9027960355bf3afff9841918474a81a5f972ac6d226d518060bba758b5ad57"
dependencies = [
"rustc_version",
]
[[package]]
name = "pear"
version = "0.2.9"
...
...
@@ -5970,16 +5795,9 @@ version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
dependencies = [
"chrono",
"font-kit",
"image 0.24.9",
"lazy_static",
"num-traits",
"pathfinder_geometry",
"plotters-backend",
"plotters-bitmap",
"plotters-svg",
"ttf-parser",
"wasm-bindgen",
"web-sys",
]
...
...
@@ -5990,17 +5808,6 @@ version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
[[package]]
name = "plotters-bitmap"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72ce181e3f6bf82d6c1dc569103ca7b1bd964c60ba03d7e6cdfbb3e3eb7f7405"
dependencies = [
"gif 0.12.0",
"image 0.24.9",
"plotters-backend",
]
[[package]]
name = "plotters-svg"
version = "0.3.7"
...
...
@@ -6010,19 +5817,6 @@ dependencies = [
"plotters-backend",
]
[[package]]
name = "png"
version = "0.17.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
dependencies = [
"bitflags 1.3.2",
"crc32fast",
"fdeflate",
"flate2",
"miniz_oxide",
]
[[package]]
name = "png"
version = "0.18.1"
...
...
@@ -8806,12 +8600,6 @@ dependencies = [
"tokio",
]
[[package]]
name = "ttf-parser"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4"
[[package]]
name = "tungstenite"
version = "0.26.2"
...
...
@@ -9778,15 +9566,6 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "wio"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d129932f4644ac2396cb456385cbf9e63b5b30c6e8dc4820bdca4eb082037a5"
dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "wit-bindgen"
version = "0.51.0"
...
...
@@ -9920,17 +9699,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
[[package]]
name = "yeslogic-fontconfig-sys"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "503a066b4c037c440169d995b869046827dbc71263f6e8f3be6d77d4f3229dbd"
dependencies = [
"dlib",
"once_cell",
"pkg-config",
]
[[package]]
name = "yoke"
version = "0.8.1"
...
...
lib/bindings/kvbm/Cargo.lock
View file @
cf51a0c4
...
...
@@ -398,9 +398,9 @@ dependencies = [
[[package]]
name = "aws-lc-rs"
version = "1.1
5.4
"
version = "1.1
6.0
"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
7b7b6141e96a8c160799cc2d5adecd5cbbe5054cb8c7c4af53da0f83bb7ad256
"
checksum = "
d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9
"
dependencies = [
"aws-lc-sys",
"zeroize",
...
...
@@ -745,9 +745,9 @@ checksum = "f4ad8f11f288f48ca24471bbd51ac257aaeaaa07adae295591266b792902ae64"
[[package]]
name = "bumpalo"
version = "3.
19
.1"
version = "3.
20
.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5
dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510
"
checksum = "5
c6f81257d10a0f602a294ae4182251151ff97dbb504ef9afcdda4a64b24d9b4
"
[[package]]
name = "bytemuck"
...
...
lib/bindings/python/Cargo.lock
View file @
cf51a0c4
...
...
@@ -398,9 +398,9 @@ dependencies = [
[[package]]
name = "aws-lc-rs"
version = "1.1
5.4
"
version = "1.1
6.0
"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
7b7b6141e96a8c160799cc2d5adecd5cbbe5054cb8c7c4af53da0f83bb7ad256
"
checksum = "
d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9
"
dependencies = [
"aws-lc-sys",
"zeroize",
...
...
@@ -763,9 +763,9 @@ checksum = "f4ad8f11f288f48ca24471bbd51ac257aaeaaa07adae295591266b792902ae64"
[[package]]
name = "bumpalo"
version = "3.
19
.1"
version = "3.
20
.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5
dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510
"
checksum = "5
c6f81257d10a0f602a294ae4182251151ff97dbb504ef9afcdda4a64b24d9b4
"
[[package]]
name = "bytemuck"
...
...
lib/kv-router/Cargo.toml
View file @
cf51a0c4
...
...
@@ -13,7 +13,7 @@ repository.workspace = true
[features]
default
=
[]
metrics
=
["dep:dynamo-runtime"]
bench
=
[
"dep:clap"
,
"dep:indicatif"
,
"dep:serde_json"
,
"dynamo-runtime/integration"
,
"dep:uuid"
]
bench
=
[
"dep:clap"
,
"dep:indicatif"
,
"dep:serde_json"
,
"dynamo-runtime/integration"
,
"dep:uuid"
,
"dep:plotters"
]
[dependencies]
# repo
...
...
@@ -42,6 +42,7 @@ parking_lot = { workspace = true }
clap
=
{
version
=
"4.5"
,
features
=
["derive"]
,
optional
=
true
}
indicatif
=
{
version
=
"0.18.0"
,
optional
=
true
}
uuid
=
{
workspace
=
true
,
optional
=
true
}
plotters
=
{
version
=
"0.3"
,
optional
=
true
,
default-features
=
false
,
features
=
[
"svg_backend"
,
"line_series"
,
"point_series"
,
"full_palette"
]
}
rustc-hash
=
"2.1.1"
[dev-dependencies]
...
...
@@ -54,7 +55,6 @@ dynamo-mocker = { workspace = true }
dynamo-tokens
=
{
workspace
=
true
}
minstant
=
"0.1.7"
futures
=
"0.3"
plotters
=
"0.3"
[[bench]]
...
...
lib/kv-router/benches/mooncake_bench.rs
View file @
cf51a0c4
...
...
@@ -215,7 +215,7 @@ struct Args {
sweep_steps
:
usize
,
/// Output path for the sweep plot PNG.
#[clap(long,
default_value
=
"sweep_plot.
pn
g"
)]
#[clap(long,
default_value
=
"sweep_plot.
sv
g"
)]
sweep_output
:
String
,
/// Comma-separated list of indexer names to benchmark and compare on the
...
...
@@ -882,7 +882,7 @@ fn plot_sweep(
let
axis_min
=
global_min
*
0.9
;
let
axis_max
=
global_max
*
1.1
;
let
root
=
BitMap
Backend
::
new
(
output_path
,
(
800
,
600
))
.into_drawing_area
();
let
root
=
SVG
Backend
::
new
(
output_path
,
(
800
,
600
))
.into_drawing_area
();
root
.fill
(
&
WHITE
)
?
;
let
mut
chart
=
ChartBuilder
::
on
(
&
root
)
...
...
lib/runtime/examples/Cargo.lock
View file @
cf51a0c4
...
...
@@ -191,9 +191,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
name = "aws-lc-rs"
version = "1.1
5.4
"
version = "1.1
6.0
"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
7b7b6141e96a8c160799cc2d5adecd5cbbe5054cb8c7c4af53da0f83bb7ad256
"
checksum = "
d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9
"
dependencies = [
"aws-lc-sys",
"zeroize",
...
...
@@ -345,9 +345,9 @@ dependencies = [
[[package]]
name = "bumpalo"
version = "3.
19
.1"
version = "3.
20
.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5
dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510
"
checksum = "5
c6f81257d10a0f602a294ae4182251151ff97dbb504ef9afcdda4a64b24d9b4
"
[[package]]
name = "bytemuck"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment