en un clic
ix-benchmark
Benchmark and compare ix algorithm performance
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Benchmark and compare ix algorithm performance
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
Cluster data using K-Means or DBSCAN
Basé sur la classification professionnelle SOC
| name | ix-benchmark |
| description | Benchmark and compare ix algorithm performance |
| disable-model-invocation | true |
Profile and compare algorithm performance across the ix workspace.
When the user wants to know which algorithm is fastest, measure scaling behavior, or compare approaches.
std::time::Instant for wall-clock timinguse std::time::Instant;
// Time an operation
let start = Instant::now();
let result = expensive_operation();
let elapsed = start.elapsed();
eprintln!("Took {:?}", elapsed);
// Compare methods
for method in ["sgd", "adam", "pso", "annealing"] {
let start = Instant::now();
// run optimization with method...
eprintln!("{}: {:?}", method, start.elapsed());
}
Use ix-cache to persist benchmark results across sessions:
use ix_cache::store::Cache;
let cache = Cache::default_cache();
cache.set("bench:optimize:sphere:pso", &elapsed_ms);