Initial Dever 0.0.1

This commit is contained in:
Codex committed 2026-11-03 03:32:07 +00:00
commit 81233d098c
1479 files changed
+163782

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
use std::path::Path;
pub fn run(core: &Path) -> bool {
let all = std::env::args().any(|argument| argument == "--extended");
let primitives = all || std::env::args().any(|argument| argument == "--extended-primitives");
let concurrency = all || std::env::args().any(|argument| argument == "--extended-concurrency");
if primitives {
crate::compare(
core,
"extended-performance/primitives",
"extended-primitives",
&[include_str!("../samples.rs"), include_str!("primitives.rs")].concat(),
&[
("EXT_SHA256", "sha256Digest"),
("EXT_HMAC", "hmacDigest"),
("EXT_DATETIME", "datetimeBatch"),
("EXT_DATE", "dateBatch"),
("EXT_TIME", "timeBatch"),
("EXT_UUID", "uuidBatch"),
],
&[],
);
}
if concurrency {
crate::compare(
core,
"extended-performance/concurrency",
"extended-concurrency",
&[
include_str!("../samples.rs"),
include_str!("concurrency.rs"),
]
.concat(),
&[
("EXT_CHANNEL", "channelRoundtrip"),
("EXT_PULL", "streamPull"),
("EXT_PREFIX", "streamPrefix"),
("EXT_BOUNDARY", "streamBoundary"),
("EXT_PARALLEL", "parallelBounded"),
],
&[],
);
}
primitives || concurrency
}