mirror of
https://github.com/speice-io/marketdata-shootout
synced 2026-05-01 05:20:19 -04:00
Add run analysis code, and clean up most warnings
Cap'n Proto has a bug in deserialization; both in packed and unpacked, it gets to 43116 of 62253 messages.
This commit is contained in:
6
build.rs
6
build.rs
@ -15,7 +15,8 @@ fn main() {
|
||||
inputs: &[Path::new("marketdata.fbs")],
|
||||
out_dir: Path::new("src/"),
|
||||
..Default::default()
|
||||
}).expect("Unable to compile flatc");
|
||||
})
|
||||
.expect("Unable to compile flatc");
|
||||
|
||||
// There's no Rust-style builder crate for SBE,
|
||||
// so we need to run the command by hand.
|
||||
@ -25,7 +26,8 @@ fn main() {
|
||||
.arg("-Dsbe.xinclude.aware=true")
|
||||
.arg("-Dsbe.target.language=uk.co.real_logic.sbe.generation.rust.Rust")
|
||||
.arg("-Dsbe.target.namespace=marketdata_sbe")
|
||||
.arg("-jar").arg("sbe-all-1.13.2-all.jar")
|
||||
.arg("-jar")
|
||||
.arg("sbe-all-1.13.2-all.jar")
|
||||
.arg("marketdata.xml")
|
||||
.output()
|
||||
.expect("Unable to execute SBE compiler");
|
||||
|
||||
Reference in New Issue
Block a user