feat(vm): add VM-owned PCG64 random and coverage headroom
Intrepid/Prometeu/Runtime/pipeline/pr-master This commit looks good
Intrepid/Prometeu/Runtime/pipeline/pr-master This commit looks good
Implement GC-managed random generators, next/nextf intrinsics, bounded ranges and deterministic conformance coverage. Publish the runtime contract and producer guidance. Give coverage domains at least five percentage points of measured headroom while preserving sufficient floors. Record local qualification: make ci-domains passes with 939 tests and all domain gates green.
This commit is contained in:
@@ -17,11 +17,23 @@ fn main() {
|
||||
let m = lookup_intrinsic_by_id(id).unwrap();
|
||||
let mut ctx = HostContext::new(None);
|
||||
for _ in 0..100 {
|
||||
black_box((m.implementation)(black_box(&args), &mut ctx).unwrap());
|
||||
black_box(
|
||||
(m.implementation.host_callback().expect("host intrinsic"))(
|
||||
black_box(&args),
|
||||
&mut ctx,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
}
|
||||
let start = Instant::now();
|
||||
for _ in 0..iterations {
|
||||
black_box((m.implementation)(black_box(&args), &mut ctx).unwrap());
|
||||
black_box(
|
||||
(m.implementation.host_callback().expect("host intrinsic"))(
|
||||
black_box(&args),
|
||||
&mut ctx,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
}
|
||||
let elapsed = start.elapsed().as_nanos();
|
||||
println!(
|
||||
|
||||
Reference in New Issue
Block a user