diff --git a/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_1.stderr b/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_1.stderr index 0adc57072f4..2eb6c42fd0c 100644 --- a/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_1.stderr +++ b/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_1.stderr @@ -15,18 +15,18 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `impl dfir_rs::futures::Sink: dfir_rs::futures::Sink<(f64,)>` is not satisfied --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:17:15 @@ -45,18 +45,18 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `impl dfir_rs::futures::Sink: dfir_rs::futures::Sink<(f64,)>` is not satisfied --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:13:20 @@ -80,15 +80,15 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_1.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_2.stderr b/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_2.stderr index 94039adaa96..be5385e8453 100644 --- a/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_2.stderr +++ b/dfir_rs/tests/compile-fail/surface_demuxenum_wrongfields_2.stderr @@ -15,18 +15,18 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink<(u32,), Error = Infal `DemuxVar` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `impl dfir_rs::futures::Sink<(u32,), Error = Infallible>: dfir_rs::futures::Sink<(f64,)>` is not satisfied --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:17:15 @@ -45,18 +45,18 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink<(u32,), Error = Infal `DemuxVar` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `impl dfir_rs::futures::Sink<(u32,), Error = Infallible>: dfir_rs::futures::Sink<(f64,)>` is not satisfied --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:13:20 @@ -80,15 +80,15 @@ error[E0277]: the trait bound `impl dfir_rs::futures::Sink<(u32,), Error = Infal `DemuxVar` implements `dfir_rs::futures::Sink<(usize, Item)>` and $N others note: required for `Shape` to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` - --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:5:14 + --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:6:10 | 5 | #[derive(DemuxEnum)] - | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro + | --------- type parameter would need to implement `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` 6 | enum Shape { | ^^^^^ + = help: consider manually implementing `DemuxEnumSink<(Pin<&mut impl dfir_rs::futures::Sink<(f64,), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(f64, f64), Error = Infallible>>, Pin<&mut impl dfir_rs::futures::Sink<(u32,), Error = Infallible>>)>` to avoid undesired bounds note: required by a bound in `demux_enum_guard` --> tests/compile-fail/surface_demuxenum_wrongfields_2.rs:17:15 | 17 | ]) -> demux_enum::(); | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `demux_enum_guard` - = note: this error originates in the derive macro `DemuxEnum` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/hydro_lang/tests/compile-fail/send_lifetime.stderr b/hydro_lang/tests/compile-fail/send_lifetime.stderr index 1b368fa6d81..9823e2f2229 100644 --- a/hydro_lang/tests/compile-fail/send_lifetime.stderr +++ b/hydro_lang/tests/compile-fail/send_lifetime.stderr @@ -5,7 +5,7 @@ error: lifetime may not live long enough | -- -- lifetime `'b` defined here | | | lifetime `'a` defined here -7 | p1.source_iter(q!(0..10)).send(p2, TCP.fail_stop().bincode()).for_each(q!(|n| println!("{}", n))); +7 | p1.source_iter(q!(0..10)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a` | = help: consider adding the following bound: `'b: 'a` @@ -16,12 +16,13 @@ error: lifetime may not live long enough error: lifetime may not live long enough --> tests/compile-fail/send_lifetime.rs:7:5 | -6 | fn test<'a, 'b>(p1: &Process<'a, P1>, p2: &Process<'b, P2>) { - | -- -- lifetime `'b` defined here - | | - | lifetime `'a` defined here -7 | p1.source_iter(q!(0..10)).send(p2, TCP.fail_stop().bincode()).for_each(q!(|n| println!("{}", n))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'b` +6 | fn test<'a, 'b>(p1: &Process<'a, P1>, p2: &Process<'b, P2>) { + | -- -- lifetime `'b` defined here + | | + | lifetime `'a` defined here +7 | / p1.source_iter(q!(0..10)) +8 | | .send(p2, TCP.fail_stop().bincode()) + | |____________________________________________^ argument requires that `'a` must outlive `'b` | = help: consider adding the following bound: `'a: 'b` = note: requirement occurs because of the type `hydro_lang::prelude::Process<'_, P2>`, which makes the generic argument `'_` invariant diff --git a/hydro_test/src/cluster/snapshots-nightly/paxos_ir.snap b/hydro_test/src/cluster/snapshots-nightly/paxos_ir.snap index 8e9815c4d91..db5f0bc90d3 100644 --- a/hydro_test/src/cluster/snapshots-nightly/paxos_ir.snap +++ b/hydro_test/src/cluster/snapshots-nightly/paxos_ir.snap @@ -7386,1053 +7386,437 @@ expression: built.ir() }, op_metadata: HydroIrOpMetadata, }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | num_clients_not_responded | println ! ("Awaiting {} clients" , num_clients_not_responded) }), - input: ObserveNonDet { - inner: Cast { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Cast { - inner: Tee { - inner: : FilterMap { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , usize) , core :: option :: Option < usize > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (num_clients , num_clients_with_throughput) | { if num_clients > num_clients_with_throughput { Some (num_clients - num_clients_with_throughput) } else { None } } }), + CycleSink { + ident: Ident { + sym: cycle_21, + }, + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (new , old) | { old . borrow_mut () . add (new) . expect ("Error adding value to histogram") ; old } }), + input: CrossSingleton { + left: Tee { + inner: : Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | | Histogram :: < u64 > :: new (3) . unwrap () }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , core :: time :: Duration , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies , latency | { latencies . record (latency . as_nanos () as u64) . unwrap () ; } }), + input: ObserveNonDet { + inner: Tee { + inner: : Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (i32 , core :: time :: Duration)) , core :: time :: Duration > ({ use crate :: __staged :: __deps :: * ; use crate :: __staged :: cluster :: paxos_bench :: * ; | (_virtual_client_id , (_output , latency)) | latency }), input: Cast { - inner: CrossSingleton { - left: Tee { - inner: : Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , bool) , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Cast { + inner: YieldConcat { + inner: Cast { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))) , (u32 , (i32 , core :: time :: Duration)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < (std :: time :: SystemTime , (std :: time :: SystemTime , i32)) , (i32 , core :: time :: Duration) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (start_time , (end_time , output)) | (output , end_time . duration_since (start_time) . unwrap ()) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: Cast { inner: Cast { - inner: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , bool) , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_borrow_type_hint :: < bool , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | b | * b }) ; { let orig = f__free ; move | t : & (_ , _) | orig (& t . 1) } }), - input: Batch { - inner: FoldKeyed { - init: stageleft :: runtime_support :: fn0_type_hint :: < bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: membership :: * ; | | false }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < bool , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: membership :: * ; | present , event | { match event { MembershipEvent :: Joined => * present = true , MembershipEvent :: Left => * present = false , } } }), - input: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: TaglessMemberId , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent) , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; | (k , v) | (MemberId :: from_tagless (k) , v) }), - input: Source { - source: ClusterMembers( - Cluster(loc3v1), - ), + inner: Join { + left: Cast { + inner: Cast { + inner: DeferTick { + input: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , std :: time :: SystemTime) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , std :: time :: SystemTime > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _input | SystemTime :: now () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: ReduceKeyed { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), + input: ObserveNonDet { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + trusted: false, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedSingleton { + bound: Unbounded, + key_type: u32, + value_type: i32, + }, + }, + }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { + location_id: Cluster(loc3v1), + collection_kind: KeyedSingleton { bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: TaglessMemberId , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent), + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent), + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent, + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: bool, + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: KeyedSingleton { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: bool, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , std :: time :: SystemTime), + }, + }, + }, + right: Cast { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , (std :: time :: SystemTime , i32)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , (std :: time :: SystemTime , i32) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | output | (SystemTime :: now () , output) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: ReduceKeyed { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), + input: ObserveNonDet { + inner: Batch { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + trusted: false, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: i32, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: (std :: time :: SystemTime , i32), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (std :: time :: SystemTime , i32), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (std :: time :: SystemTime , i32)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: KeyedSingleton { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: bool, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(19, Cluster(loc3v1)), collection_kind: KeyedStream { bound: Bounded, - value_order: TotalOrder, + value_order: NoOrder, value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: bool, + key_type: u32, + value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , bool), + key_type: u32, + value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), }, }, }, - trusted: true, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedSingleton { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , bool), + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { bound: Bounded, - element_type: usize, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { + location_id: Tick(19, Cluster(loc3v1)), + collection_kind: KeyedStream { bound: Bounded, - element_type: usize, - }, - }, - }, - right: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Cast { - inner: Cast { - inner: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_borrow_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | throughputs | throughputs . sample_mean () > 0.0 }) ; { let orig = f__free ; move | t : & (_ , _) | orig (& t . 1) } }), - input: Batch { - inner: Tee { - inner: : ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { * combined = new ; } }), - input: ObserveNonDet { - inner: Cast { - inner: Network { - name: None, - serialize_fn: Some( - hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), - ), - instantiate_fn: , - deserialize_fn: Some( - | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: paxos_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > (& b) . unwrap ()) }, - ), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (_ , stats) | stats }), - input: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | | (0 , { RollingAverage :: new () }) }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , (usize , bool) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (total , stats) , (batch_size , reset) | { if reset { if * total > 0 { stats . add_sample (* total as f64) ; } * total = 0 ; } else { * total += batch_size ; } } }), - input: Chain { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , (usize , bool) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | batch_size | (batch_size , false) }), - input: YieldConcat { - inner: Cast { - inner: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , core :: time :: Duration , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Batch { - inner: Tee { - inner: : Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (i32 , core :: time :: Duration)) , core :: time :: Duration > ({ use crate :: __staged :: __deps :: * ; use crate :: __staged :: cluster :: paxos_bench :: * ; | (_virtual_client_id , (_output , latency)) | latency }), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))) , (u32 , (i32 , core :: time :: Duration)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < (std :: time :: SystemTime , (std :: time :: SystemTime , i32)) , (i32 , core :: time :: Duration) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (start_time , (end_time , output)) | (output , end_time . duration_since (start_time) . unwrap ()) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: Cast { - inner: Cast { - inner: Join { - left: Cast { - inner: Cast { - inner: Batch { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , std :: time :: SystemTime) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , std :: time :: SystemTime > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _input | SystemTime :: now () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), - input: ObserveNonDet { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , std :: time :: SystemTime), - }, - }, - }, - right: Cast { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , (std :: time :: SystemTime , i32)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , (std :: time :: SystemTime , i32) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | output | (SystemTime :: now () , output) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), - input: ObserveNonDet { - inner: Batch { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (std :: time :: SystemTime , i32), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (std :: time :: SystemTime , i32), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(19, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (i32 , core :: time :: Duration)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(20, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - trusted: true, - metadata: HydroIrMetadata { - location_id: Tick(20, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(20, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(20, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - second: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , (usize , bool) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _ | (0 , true) }), - input: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Duration :: from_secs (1) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(22, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), - }, - }, - }, - trusted: true, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (usize , usize), + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: (usize , usize), + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (i32 , core :: time :: Duration)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: usize, + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - element_type: usize, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Stream { bound: Bounded, - order: TotalOrder, + order: NoOrder, retry: ExactlyOnce, - element_type: usize, + element_type: core :: time :: Duration, }, }, }, + trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Stream { - bound: Unbounded, + bound: Bounded, order: TotalOrder, retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - element_type: (), + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , ()), + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(23, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: usize, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - op_metadata: HydroIrOpMetadata, - }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (lower , mean , upper) | { println ! ("Throughput: {:.2} - {:.2} - {:.2} requests/s" , lower , mean , upper ,) ; } }), - input: FilterMap { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , core :: option :: Option < (f64 , f64 , f64) > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (throughputs , num_client_machines) | { if let Some ((lower , upper)) = throughputs . confidence_interval_99 () { Some ((lower * num_client_machines as f64 , throughputs . sample_mean () * num_client_machines as f64 , upper * num_client_machines as f64 ,)) } else { None } } }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (throughputs , _num_client_machines) | throughputs . sample_count () > 2 }), - input: ObserveNonDet { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < ((hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , ()) , (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: CrossSingleton { - left: Batch { - inner: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { combined . add (new) ; } }), - input: ObserveNonDet { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; | (_ , v) | v }), - input: Batch { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(24, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(24, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Tick(24, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(24, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Optional { - bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, + right: Tee { + inner: : Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_21, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | _u | () }), - input: Reduce { + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: : Reduce { f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), input: Batch { inner: Source { source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, + { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 100u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, ), metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Cluster(loc3v1), collection_kind: Stream { bound: Unbounded, order: TotalOrder, @@ -8442,7 +7826,7 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Stream { bound: Bounded, order: TotalOrder, @@ -8452,7 +7836,7 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, @@ -8460,147 +7844,50 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()), + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + element_type: core :: option :: Option < () >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(25, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - right: Cast { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | o | o . is_none () }), - input: Cast { - inner: ChainFirst { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ | () }), - input: Tee { - inner: , + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - element_type: usize, + element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: core :: option :: Option < () >, - }, - }, - }, - second: Cast { - inner: SingletonSource { - value: :: std :: option :: Option :: None, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, @@ -8608,517 +7895,1084 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: core :: option :: Option < () >, + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: ((hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , ()), + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >), }, }, }, - trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + second: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | histogram | Rc :: new (RefCell :: new (histogram)) }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (f64 , f64 , f64), + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, op_metadata: HydroIrOpMetadata, }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64 , u64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (p50 , p99 , p999 , num_samples) | { println ! ("Latency p50: {:.3} | p99 {:.3} | p999 {:.3} ms ({:} samples)" , p50 , p99 , p999 , num_samples) ; } }), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , (f64 , f64 , f64 , u64) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; move | latencies | (Duration :: from_nanos (latencies . value_at_quantile (0.5)) . as_micros () as f64 / interval_millis__free as f64 , Duration :: from_nanos (latencies . value_at_quantile (0.99)) . as_micros () as f64 / interval_millis__free as f64 , Duration :: from_nanos (latencies . value_at_quantile (0.999)) . as_micros () as f64 / interval_millis__free as f64 , latencies . len () ,) }), - input: ObserveNonDet { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { combined . add (new) . unwrap () ; } }), - input: ObserveNonDet { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; | (_ , v) | v }), - input: Batch { - inner: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { * combined = new ; } }), - input: ObserveNonDet { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper) , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | histogram | histogram . histogram . borrow () . clone () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: Cast { - inner: Network { - name: None, - serialize_fn: Some( - hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), - ), - instantiate_fn: , - deserialize_fn: Some( - | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: paxos_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > (& b) . unwrap ()) }, - ), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | latencies | { SerializableHistogramWrapper { histogram : latencies , } } }), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | | Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: time :: Duration , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies , latency | { latencies . borrow_mut () . record (latency . as_nanos () as u64) . unwrap () ; } }), - input: ObserveNonDet { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(26, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(27, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(27, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Tick(27, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(27, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Optional { - bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, + CycleSink { + ident: Ident { + sym: cycle_22, + }, + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , usize) , usize > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (new , old) | new + old }), + input: CrossSingleton { + left: Tee { + inner: : Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , core :: time :: Duration , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), + input: ObserveNonDet { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, + }, + }, + }, + trusted: true, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Tee { + inner: : Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_22, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; 0usize }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + CycleSink { + ident: Ident { + sym: cycle_23, + }, + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | ((old , new) , reset) | { if reset . is_some () { old . replace (Histogram :: < u64 > :: new (3) . unwrap ()) ; } if let Some (new) = new { old . borrow_mut () . add (& * new . borrow_mut ()) . expect ("Error adding value to histogram") ; } old } }), + input: Cast { + inner: CrossSingleton { + left: Cast { + inner: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_23, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Reduce { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { curr . borrow_mut () . add (& * new . borrow_mut ()) . expect ("Error adding value to histogram") ; } }), + input: ObserveNonDet { + inner: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | wrapper | wrapper . histogram }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; | (_ , v) | v }), + input: Cast { + inner: Cast { + inner: Network { + name: None, + serialize_fn: Some( + hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), + ), + instantiate_fn: , + deserialize_fn: Some( + | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: paxos_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > (& b) . unwrap ()) }, + ), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | latencies | { SerializableHistogramWrapper { histogram : latencies , } } }), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, + value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + trusted: false, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >), + }, + }, + }, + right: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Tee { + inner: : Reduce { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), + input: Batch { + inner: Source { + source: Stream( + { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let output_interval_millis__free = 1000u64 ; Duration :: from_millis (output_interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, + ), + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + CycleSink { + ident: Ident { + sym: cycle_24, + }, + input: Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | | 0usize }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr += new ; } }), + input: ObserveNonDet { + inner: Chain { + first: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , usize) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; | (_ , v) | v }), + input: Cast { + inner: Cast { + inner: Network { + name: None, + serialize_fn: Some( + hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < usize , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), + ), + instantiate_fn: , + deserialize_fn: Some( + | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: paxos_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < usize > (& b) . unwrap ()) }, + ), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), + location_id: Tick(20, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (usize , ()), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(20, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client >, + value_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: paxos_bench :: Client > , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + second: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_24, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; 0usize }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()), + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), + location_id: Tick(21, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(28, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | o | o . is_none () }), - input: Cast { - inner: ChainFirst { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ | () }), - input: Tee { - inner: , + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, metadata: HydroIrMetadata { location_id: Tick(21, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: usize, + element_type: (), }, }, }, @@ -9126,24 +8980,24 @@ expression: built.ir() location_id: Tick(21, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: core :: option :: Option < () >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: core :: option :: Option < () >, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, }, - }, - }, - second: Cast { - inner: SingletonSource { - value: :: std :: option :: Option :: None, metadata: HydroIrMetadata { location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -9159,7 +9013,7 @@ expression: built.ir() }, metadata: HydroIrMetadata { location_id: Tick(21, Process(loc4v1)), - collection_kind: Optional { + collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -9167,7 +9021,7 @@ expression: built.ir() }, metadata: HydroIrMetadata { location_id: Tick(21, Process(loc4v1)), - collection_kind: Singleton { + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -9177,7 +9031,7 @@ expression: built.ir() location_id: Tick(21, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: core :: option :: Option < () >, + element_type: (), }, }, }, @@ -9185,17 +9039,15 @@ expression: built.ir() location_id: Tick(21, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (usize , ()), }, }, }, metadata: HydroIrMetadata { location_id: Tick(21, Process(loc4v1)), - collection_kind: Stream { + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()), + element_type: usize, }, }, }, @@ -9204,29 +9056,189 @@ expression: built.ir() collection_kind: Stream { bound: Bounded, order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + retry: ExactlyOnce, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Tick(21, Process(loc4v1)), collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, }, }, }, trusted: false, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + ForEach { + f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | throughput | { println ! ("Throughput: {:.2} requests/s" , throughput) ; } }), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + ForEach { + f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64 , u64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (p50 , p99 , p999 , num_samples) | { println ! ("Latency p50: {:.3} | p99 {:.3} | p999 {:.3} ms ({:} samples)" , p50 , p99 , p999 , num_samples) ; } }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , (f64 , f64 , f64 , u64) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies | (Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.5)) . as_micros () as f64 / 1000.0 , Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.99)) . as_micros () as f64 / 1000.0 , Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.999)) . as_micros () as f64 / 1000.0 , latencies . borrow () . len () ,) }), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(21, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, metadata: HydroIrMetadata { location_id: Process(loc4v1), collection_kind: Stream { bound: Unbounded, order: TotalOrder, retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, diff --git a/hydro_test/src/cluster/snapshots-nightly/two_pc_ir.snap b/hydro_test/src/cluster/snapshots-nightly/two_pc_ir.snap index fe62be936ea..099d39380ab 100644 --- a/hydro_test/src/cluster/snapshots-nightly/two_pc_ir.snap +++ b/hydro_test/src/cluster/snapshots-nightly/two_pc_ir.snap @@ -1339,1053 +1339,437 @@ expression: built.ir() }, op_metadata: HydroIrOpMetadata, }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | num_clients_not_responded | println ! ("Awaiting {} clients" , num_clients_not_responded) }), - input: ObserveNonDet { - inner: Cast { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Cast { - inner: Tee { - inner: : FilterMap { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , usize) , core :: option :: Option < usize > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (num_clients , num_clients_with_throughput) | { if num_clients > num_clients_with_throughput { Some (num_clients - num_clients_with_throughput) } else { None } } }), + CycleSink { + ident: Ident { + sym: cycle_6, + }, + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (new , old) | { old . borrow_mut () . add (new) . expect ("Error adding value to histogram") ; old } }), + input: CrossSingleton { + left: Tee { + inner: : Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | | Histogram :: < u64 > :: new (3) . unwrap () }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , core :: time :: Duration , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies , latency | { latencies . record (latency . as_nanos () as u64) . unwrap () ; } }), + input: ObserveNonDet { + inner: Tee { + inner: : Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (i32 , core :: time :: Duration)) , core :: time :: Duration > ({ use crate :: __staged :: __deps :: * ; use crate :: __staged :: cluster :: two_pc_bench :: * ; | (_virtual_client_id , (_output , latency)) | latency }), input: Cast { - inner: CrossSingleton { - left: Tee { - inner: : Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , bool) , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Cast { + inner: YieldConcat { + inner: Cast { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))) , (u32 , (i32 , core :: time :: Duration)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < (std :: time :: SystemTime , (std :: time :: SystemTime , i32)) , (i32 , core :: time :: Duration) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (start_time , (end_time , output)) | (output , end_time . duration_since (start_time) . unwrap ()) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: Cast { inner: Cast { - inner: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , bool) , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_borrow_type_hint :: < bool , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | b | * b }) ; { let orig = f__free ; move | t : & (_ , _) | orig (& t . 1) } }), - input: Batch { - inner: FoldKeyed { - init: stageleft :: runtime_support :: fn0_type_hint :: < bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: membership :: * ; | | false }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < bool , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: membership :: * ; | present , event | { match event { MembershipEvent :: Joined => * present = true , MembershipEvent :: Left => * present = false , } } }), - input: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: TaglessMemberId , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent) , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; | (k , v) | (MemberId :: from_tagless (k) , v) }), - input: Source { - source: ClusterMembers( - Cluster(loc3v1), - ), + inner: Join { + left: Cast { + inner: Cast { + inner: DeferTick { + input: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , std :: time :: SystemTime) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , std :: time :: SystemTime > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _input | SystemTime :: now () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: ReduceKeyed { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), + input: ObserveNonDet { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + trusted: false, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: KeyedSingleton { + bound: Unbounded, + key_type: u32, + value_type: i32, + }, + }, + }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { + location_id: Cluster(loc3v1), + collection_kind: KeyedSingleton { bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: TaglessMemberId , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent), + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent), + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: MembershipEvent, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: bool, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: std :: time :: SystemTime, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedSingleton { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: bool, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , std :: time :: SystemTime), }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: bool, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: bool, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , bool), - }, - }, - }, - trusted: true, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , bool), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - right: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Cast { - inner: Cast { - inner: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_borrow_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | throughputs | throughputs . sample_mean () > 0.0 }) ; { let orig = f__free ; move | t : & (_ , _) | orig (& t . 1) } }), - input: Batch { - inner: Tee { - inner: : ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { * combined = new ; } }), - input: ObserveNonDet { - inner: Cast { - inner: Network { - name: None, - serialize_fn: Some( - hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), - ), - instantiate_fn: , - deserialize_fn: Some( - | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > (& b) . unwrap ()) }, - ), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (_ , stats) | stats }), - input: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | | (0 , { RollingAverage :: new () }) }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , (usize , bool) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (total , stats) , (batch_size , reset) | { if reset { if * total > 0 { stats . add_sample (* total as f64) ; } * total = 0 ; } else { * total += batch_size ; } } }), - input: Chain { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , (usize , bool) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | batch_size | (batch_size , false) }), - input: YieldConcat { - inner: Cast { - inner: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , core :: time :: Duration , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), - input: ObserveNonDet { - inner: Batch { - inner: Tee { - inner: : Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (i32 , core :: time :: Duration)) , core :: time :: Duration > ({ use crate :: __staged :: __deps :: * ; use crate :: __staged :: cluster :: two_pc_bench :: * ; | (_virtual_client_id , (_output , latency)) | latency }), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))) , (u32 , (i32 , core :: time :: Duration)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < (std :: time :: SystemTime , (std :: time :: SystemTime , i32)) , (i32 , core :: time :: Duration) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (start_time , (end_time , output)) | (output , end_time . duration_since (start_time) . unwrap ()) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: Cast { - inner: Cast { - inner: Join { - left: Cast { - inner: Cast { - inner: Batch { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , std :: time :: SystemTime) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , std :: time :: SystemTime > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _input | SystemTime :: now () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), - input: ObserveNonDet { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: std :: time :: SystemTime, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , std :: time :: SystemTime), - }, - }, - }, - right: Cast { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , (std :: time :: SystemTime , i32)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , (std :: time :: SystemTime , i32) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | output | (SystemTime :: now () , output) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), - input: ObserveNonDet { - inner: Batch { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: i32, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (std :: time :: SystemTime , i32), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (std :: time :: SystemTime , i32), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(5, Cluster(loc3v1)), - collection_kind: KeyedStream { - bound: Bounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: NoOrder, - value_retry: ExactlyOnce, - key_type: u32, - value_type: (i32 , core :: time :: Duration), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (u32 , (i32 , core :: time :: Duration)), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(6, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - trusted: true, - metadata: HydroIrMetadata { - location_id: Tick(6, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(6, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(6, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - second: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , (usize , bool) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | _ | (0 , true) }), - input: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Duration :: from_secs (1) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , bool), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: (usize , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(8, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, + right: Cast { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (u32 , i32) , (u32 , (std :: time :: SystemTime , i32)) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < i32 , (std :: time :: SystemTime , i32) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | output | (SystemTime :: now () , output) }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), + input: ReduceKeyed { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < i32 , i32 , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr = new ; } }), + input: ObserveNonDet { + inner: Batch { + inner: Tee { + inner: , metadata: HydroIrMetadata { location_id: Cluster(loc3v1), - collection_kind: Stream { + collection_kind: KeyedStream { bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, }, }, }, metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, }, }, }, + trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: i32, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: i32, }, }, }, - trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { + bound: Bounded, + key_type: u32, + value_type: (std :: time :: SystemTime , i32), }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { + bound: Bounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (std :: time :: SystemTime , i32), }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (std :: time :: SystemTime , i32)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedSingleton { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (std :: time :: SystemTime , (std :: time :: SystemTime , i32))), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedSingleton { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: KeyedStream { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { bound: Bounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + key_type: u32, + value_type: (std :: time :: SystemTime , (std :: time :: SystemTime , i32)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedSingleton { bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, - trusted: true, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage), + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { + location_id: Tick(5, Cluster(loc3v1)), + collection_kind: KeyedStream { bound: Bounded, - element_type: usize, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (usize , usize), + location_id: Cluster(loc3v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: NoOrder, + value_retry: ExactlyOnce, + key_type: u32, + value_type: (i32 , core :: time :: Duration), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: (usize , usize), + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (u32 , (i32 , core :: time :: Duration)), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: usize, + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Stream { bound: Bounded, - element_type: usize, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Stream { bound: Bounded, - order: TotalOrder, + order: NoOrder, retry: ExactlyOnce, - element_type: usize, + element_type: core :: time :: Duration, }, }, }, + trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Stream { - bound: Unbounded, + bound: Bounded, order: TotalOrder, retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + element_type: core :: time :: Duration, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - element_type: (), + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (usize , ()), + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(9, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: usize, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: usize, - }, - }, - }, - op_metadata: HydroIrOpMetadata, - }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (lower , mean , upper) | { println ! ("Throughput: {:.2} - {:.2} - {:.2} requests/s" , lower , mean , upper ,) ; } }), - input: FilterMap { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , core :: option :: Option < (f64 , f64 , f64) > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (throughputs , num_client_machines) | { if let Some ((lower , upper)) = throughputs . confidence_interval_99 () { Some ((lower * num_client_machines as f64 , throughputs . sample_mean () * num_client_machines as f64 , upper * num_client_machines as f64 ,)) } else { None } } }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , bool > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (throughputs , _num_client_machines) | throughputs . sample_count () > 2 }), - input: ObserveNonDet { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < ((hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , ()) , (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: CrossSingleton { - left: Batch { - inner: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { combined . add (new) ; } }), - input: ObserveNonDet { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; | (_ , v) | v }), - input: Batch { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { - bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(10, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(10, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Tick(10, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(10, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Optional { - bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, + right: Tee { + inner: : Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_6, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | _u | () }), - input: Reduce { + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: : Reduce { f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), input: Batch { inner: Source { source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, + { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 100u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, ), metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Cluster(loc3v1), collection_kind: Stream { bound: Unbounded, order: TotalOrder, @@ -2395,7 +1779,7 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Stream { bound: Bounded, order: TotalOrder, @@ -2405,7 +1789,7 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, @@ -2413,147 +1797,50 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , ()), + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, + element_type: core :: option :: Option < () >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(11, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage, - }, - }, - }, - right: Cast { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: usize, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | o | o . is_none () }), - input: Cast { - inner: ChainFirst { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ | () }), - input: Tee { - inner: , + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, - element_type: usize, + element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: core :: option :: Option < () >, - }, - }, - }, - second: Cast { - inner: SingletonSource { - value: :: std :: option :: Option :: None, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, @@ -2561,517 +1848,1084 @@ expression: built.ir() }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: core :: option :: Option < () >, + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: ((hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize) , ()), + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >), }, }, }, - trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: rolling_average :: RollingAverage , usize), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: (f64 , f64 , f64), + second: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | histogram | Rc :: new (RefCell :: new (histogram)) }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, op_metadata: HydroIrOpMetadata, }, - ForEach { - f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64 , u64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (p50 , p99 , p999 , num_samples) | { println ! ("Latency p50: {:.3} | p99 {:.3} | p999 {:.3} ms ({:} samples)" , p50 , p99 , p999 , num_samples) ; } }), + CycleSink { + ident: Ident { + sym: cycle_7, + }, + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , usize) , usize > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | (new , old) | new + old }), + input: CrossSingleton { + left: Tee { + inner: : Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | | 0usize }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , core :: time :: Duration , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | count , _ | * count += 1 }), + input: ObserveNonDet { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, + }, + }, + }, + trusted: true, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: core :: time :: Duration, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Tee { + inner: : Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_7, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; 0usize }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + CycleSink { + ident: Ident { + sym: cycle_8, + }, input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , (f64 , f64 , f64 , u64) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; move | latencies | (Duration :: from_nanos (latencies . value_at_quantile (0.5)) . as_micros () as f64 / interval_millis__free as f64 , Duration :: from_nanos (latencies . value_at_quantile (0.99)) . as_micros () as f64 / interval_millis__free as f64 , Duration :: from_nanos (latencies . value_at_quantile (0.999)) . as_micros () as f64 / interval_millis__free as f64 , latencies . len () ,) }), - input: ObserveNonDet { - inner: YieldConcat { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: YieldConcat { - inner: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { combined . add (new) . unwrap () ; } }), - input: ObserveNonDet { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >) , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_singleton :: * ; | (_ , v) | v }), - input: Batch { - inner: ReduceKeyed { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | combined , new | { * combined = new ; } }), - input: ObserveNonDet { + f: stageleft :: runtime_support :: fn1_type_hint :: < ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | ((old , new) , reset) | { if reset . is_some () { old . replace (Histogram :: < u64 > :: new (3) . unwrap ()) ; } if let Some (new) = new { old . borrow_mut () . add (& * new . borrow_mut ()) . expect ("Error adding value to histogram") ; } old } }), + input: Cast { + inner: CrossSingleton { + left: Cast { + inner: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_8, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Reduce { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { curr . borrow_mut () . add (& * new . borrow_mut ()) . expect ("Error adding value to histogram") ; } }), + input: ObserveNonDet { + inner: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | wrapper | wrapper . histogram }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper) , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; | (_ , v) | v }), + input: Cast { + inner: Cast { + inner: Network { + name: None, + serialize_fn: Some( + hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), + ), + instantiate_fn: , + deserialize_fn: Some( + | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > (& b) . unwrap ()) }, + ), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | latencies | { SerializableHistogramWrapper { histogram : latencies , } } }), + input: YieldConcat { + inner: Cast { inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper) , (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >) > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; let f__free = stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | histogram | histogram . histogram . borrow () . clone () }) ; { let orig = f__free ; move | (k , v) | (k , orig (v)) } }), - input: Cast { - inner: Network { - name: None, - serialize_fn: Some( - hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), - ), - instantiate_fn: , - deserialize_fn: Some( - | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > (& b) . unwrap ()) }, - ), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | latencies | { SerializableHistogramWrapper { histogram : latencies , } } }), - input: Cast { - inner: YieldConcat { - inner: Cast { - inner: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), - input: CrossSingleton { - left: Batch { - inner: Fold { - init: stageleft :: runtime_support :: fn0_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | | Rc :: new (RefCell :: new (Histogram :: < u64 > :: new (3) . unwrap ())) }), - acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: time :: Duration , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies , latency | { latencies . borrow_mut () . record (latency . as_nanos () as u64) . unwrap () ; } }), - input: ObserveNonDet { - inner: Tee { - inner: , - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: NoOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - trusted: false, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: core :: time :: Duration, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Singleton { - bound: Unbounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Singleton { - bound: Bounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Optional { - bound: Bounded, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Tick(12, Cluster(loc3v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, - }, - metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, - }, - }, + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , metadata: HydroIrMetadata { - location_id: Cluster(loc3v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: AtLeastOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, - trusted: false, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedStream { - bound: Unbounded, - value_order: TotalOrder, - value_retry: ExactlyOnce, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: KeyedSingleton { + location_id: Cluster(loc3v1), + collection_kind: Stream { bound: Unbounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(13, Process(loc4v1)), - collection_kind: KeyedSingleton { - bound: Bounded, - key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, - value_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(13, Process(loc4v1)), + location_id: Process(loc4v1), collection_kind: Stream { - bound: Bounded, - order: NoOrder, + bound: Unbounded, + order: TotalOrder, retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), }, }, }, - trusted: false, metadata: HydroIrMetadata { - location_id: Tick(13, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Process(loc4v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, + value_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(13, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper), }, }, }, metadata: HydroIrMetadata { location_id: Process(loc4v1), - collection_kind: Optional { + collection_kind: Stream { bound: Unbounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + order: NoOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: hydro_std :: bench_client :: SerializableHistogramWrapper, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | _u | () }), - input: Reduce { - f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), - input: Batch { - inner: Source { - source: Stream( - { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let interval_millis__free = 1000u64 ; Duration :: from_millis (interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, - ), - metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, - }, - }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + trusted: false, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >), + }, + }, + }, + right: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Tee { + inner: : Reduce { + f: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ , _ | { } }), + input: Batch { + inner: Source { + source: Stream( + { use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: location :: * ; let interval__free = { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; let output_interval_millis__free = 1000u64 ; Duration :: from_millis (output_interval_millis__free) } ; tokio_stream :: wrappers :: IntervalStream :: new (tokio :: time :: interval (interval__free)) }, + ), + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: ((std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , core :: option :: Option < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > >) , core :: option :: Option < hydro_test :: __staged :: __deps :: tokio :: time :: Instant >), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + CycleSink { + ident: Ident { + sym: cycle_9, + }, + input: Fold { + init: stageleft :: runtime_support :: fn0_type_hint :: < usize > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | | 0usize }), + acc: stageleft :: runtime_support :: fn2_borrow_mut_type_hint :: < usize , usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | curr , new | { * curr += new ; } }), + input: ObserveNonDet { + inner: Chain { + first: Batch { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , usize) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: keyed_stream :: * ; | (_ , v) | v }), + input: Cast { + inner: Cast { + inner: Network { + name: None, + serialize_fn: Some( + hydro_lang :: runtime_support :: stageleft :: runtime_support :: fn1_type_hint :: < usize , _ > (| data | { hydro_lang :: runtime_support :: bincode :: serialize (& data) . unwrap () . into () }), + ), + instantiate_fn: , + deserialize_fn: Some( + | res | { let (id , b) = res . unwrap () ; (hydro_lang :: __staged :: location :: MemberId :: < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > :: from_tagless (id as hydro_lang :: __staged :: location :: TaglessMemberId) , hydro_lang :: runtime_support :: bincode :: deserialize :: < usize > (& b) . unwrap ()) }, + ), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + element_type: (), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), + location_id: Tick(6, Cluster(loc3v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (usize , ()), }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), - collection_kind: Optional { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(6, Cluster(loc3v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Cluster(loc3v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: KeyedStream { + bound: Unbounded, + value_order: TotalOrder, + value_retry: ExactlyOnce, + key_type: hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client >, + value_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: (hydro_test :: __staged :: __deps :: hydro_lang :: location :: member_id :: MemberId < hydro_test :: __staged :: cluster :: two_pc_bench :: Client > , usize), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + second: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: : Cast { + inner: ChainFirst { + first: DeferTick { + input: CycleSource { + ident: Ident { + sym: cycle_9, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + second: Cast { + inner: SingletonSource { + value: { use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; 0usize }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { bound: Bounded, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()), + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), + location_id: Tick(7, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Tick(14, Process(loc4v1)), - collection_kind: Stream { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), - collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { - bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, - }, - }, - }, - right: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _u | () }), - input: Filter { - f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | o | o . is_none () }), - input: Cast { - inner: ChainFirst { - first: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), - input: Map { - f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: stream :: * ; | _ | () }), - input: Tee { - inner: , + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < core :: option :: Option < () > , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Filter { + f: stageleft :: runtime_support :: fn1_borrow_type_hint :: < core :: option :: Option < () > , bool > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | o | o . is_none () }), + input: Cast { + inner: ChainFirst { + first: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < () , core :: option :: Option < () > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: optional :: * ; | v | Some (v) }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _ | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, metadata: HydroIrMetadata { location_id: Tick(7, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: usize, + element_type: (), }, }, }, @@ -3079,24 +2933,24 @@ expression: built.ir() location_id: Tick(7, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: core :: option :: Option < () >, }, }, }, - metadata: HydroIrMetadata { - location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { - bound: Bounded, - element_type: core :: option :: Option < () >, + second: Cast { + inner: SingletonSource { + value: :: std :: option :: Option :: None, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: core :: option :: Option < () >, + }, + }, }, - }, - }, - second: Cast { - inner: SingletonSource { - value: :: std :: option :: Option :: None, metadata: HydroIrMetadata { location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -3112,7 +2966,7 @@ expression: built.ir() }, metadata: HydroIrMetadata { location_id: Tick(7, Process(loc4v1)), - collection_kind: Optional { + collection_kind: Singleton { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -3120,7 +2974,7 @@ expression: built.ir() }, metadata: HydroIrMetadata { location_id: Tick(7, Process(loc4v1)), - collection_kind: Singleton { + collection_kind: Optional { bound: Bounded, element_type: core :: option :: Option < () >, }, @@ -3130,7 +2984,7 @@ expression: built.ir() location_id: Tick(7, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: core :: option :: Option < () >, + element_type: (), }, }, }, @@ -3138,17 +2992,15 @@ expression: built.ir() location_id: Tick(7, Process(loc4v1)), collection_kind: Optional { bound: Bounded, - element_type: (), + element_type: (usize , ()), }, }, }, metadata: HydroIrMetadata { location_id: Tick(7, Process(loc4v1)), - collection_kind: Stream { + collection_kind: Optional { bound: Bounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: (hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > , ()), + element_type: usize, }, }, }, @@ -3157,29 +3009,189 @@ expression: built.ir() collection_kind: Stream { bound: Bounded, order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + retry: ExactlyOnce, + element_type: usize, }, }, }, metadata: HydroIrMetadata { - location_id: Process(loc4v1), + location_id: Tick(7, Process(loc4v1)), collection_kind: Stream { - bound: Unbounded, - order: TotalOrder, - retry: AtLeastOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + bound: Bounded, + order: NoOrder, + retry: ExactlyOnce, + element_type: usize, }, }, }, trusted: false, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + ForEach { + f: stageleft :: runtime_support :: fn1_type_hint :: < usize , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; | throughput | { println ! ("Throughput: {:.2} requests/s" , throughput) ; } }), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (usize , ()) , usize > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: usize, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (usize , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Process(loc4v1), + collection_kind: Stream { + bound: Unbounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: usize, + }, + }, + }, + op_metadata: HydroIrOpMetadata, + }, + ForEach { + f: stageleft :: runtime_support :: fn1_type_hint :: < (f64 , f64 , f64 , u64) , () > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | (p50 , p99 , p999 , num_samples) | { println ! ("Latency p50: {:.3} | p99 {:.3} | p999 {:.3} ms ({:} samples)" , p50 , p99 , p999 , num_samples) ; } }), + input: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , (f64 , f64 , f64 , u64) > ({ use hydro_std :: __staged :: __deps :: * ; use hydro_std :: __staged :: bench_client :: * ; move | latencies | (Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.5)) . as_micros () as f64 / 1000.0 , Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.99)) . as_micros () as f64 / 1000.0 , Duration :: from_nanos (latencies . borrow () . value_at_quantile (0.999)) . as_micros () as f64 / 1000.0 , latencies . borrow () . len () ,) }), + input: YieldConcat { + inner: Cast { + inner: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()) , std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | (d , _signal) | d }), + input: CrossSingleton { + left: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Singleton { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + right: Map { + f: stageleft :: runtime_support :: fn1_type_hint :: < hydro_test :: __staged :: __deps :: tokio :: time :: Instant , () > ({ use hydro_lang :: __staged :: __deps :: * ; use hydro_lang :: __staged :: live_collections :: singleton :: * ; | _u | () }), + input: Tee { + inner: , + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: hydro_test :: __staged :: __deps :: tokio :: time :: Instant, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: (std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > > , ()), + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Optional { + bound: Bounded, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, + metadata: HydroIrMetadata { + location_id: Tick(7, Process(loc4v1)), + collection_kind: Stream { + bound: Bounded, + order: TotalOrder, + retry: ExactlyOnce, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, + }, + }, + }, metadata: HydroIrMetadata { location_id: Process(loc4v1), collection_kind: Stream { bound: Unbounded, order: TotalOrder, retry: ExactlyOnce, - element_type: hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 >, + element_type: std :: rc :: Rc < core :: cell :: RefCell < hydro_test :: __staged :: __deps :: hydro_std :: __staged :: __deps :: hdrhistogram :: Histogram < u64 > > >, }, }, },