with one click
ix-benchmark
Benchmark and compare ix algorithm performance
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Benchmark and compare ix algorithm performance
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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
| 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);