diff --git a/Cargo.lock b/Cargo.lock index a4099d67..9de46e12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,26 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "addr2line" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +dependencies = [ + "gimli", +] + +[[package]] +name = "ahash" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +dependencies = [ + "getrandom", + "once_cell", + "version_check", +] + [[package]] name = "aho-corasick" version = "0.7.20" @@ -71,7 +91,7 @@ dependencies = [ "aquavm-air-parser", "once_cell", "polyplets", - "semver 1.0.17", + "semver", "serde", "serde_json", "tracing", @@ -133,7 +153,7 @@ dependencies = [ "marine-rs-sdk", "object-pool", "once_cell", - "semver 1.0.17", + "semver", "serde", "serde_json", ] @@ -146,7 +166,7 @@ dependencies = [ "aquavm-air-parser", "itertools", "maplit", - "nom 7.1.3", + "nom", "nom_locate", "pretty_assertions 1.3.0", "serde_json", @@ -174,6 +194,12 @@ dependencies = [ name = "air-utils" version = "0.1.0" +[[package]] +name = "ambient-authority" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ad6edb4840b78c5c3d88de606b22252d552b55f3a4699fbb10fc070ec3049" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -224,7 +250,7 @@ dependencies = [ "concat-idents", "criterion 0.3.6", "csv", - "env_logger", + "env_logger 0.7.1", "fluence-app-service", "fstrings", "log", @@ -234,7 +260,7 @@ dependencies = [ "once_cell", "polyplets", "pretty_assertions 0.6.1", - "semver 1.0.17", + "semver", "serde", "serde_json", "strum", @@ -283,17 +309,11 @@ dependencies = [ "tracing", ] -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - [[package]] name = "arrayvec" -version = "0.5.2" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "ascii-canvas" @@ -304,6 +324,17 @@ dependencies = [ "term", ] +[[package]] +name = "async-trait" +version = "0.1.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b84f9ebcc6c1f5b8cb160f6990096a5c127f423fcb6e1ccc46c370cbdfb75dfc" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "atty" version = "0.2.14" @@ -357,7 +388,7 @@ dependencies = [ "eyre", "log", "maplit", - "marine-runtime 0.25.0", + "marine-runtime", "parking_lot 0.12.1", "polyplets", "serde", @@ -414,28 +445,13 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "blake3" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3" -dependencies = [ - "arrayref", - "arrayvec", - "cc", - "cfg-if 0.1.10", - "constant_time_eq", - "crypto-mac", - "digest 0.9.0", -] - [[package]] name = "block-buffer" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" dependencies = [ - "generic-array 0.14.6", + "generic-array", ] [[package]] @@ -471,6 +487,70 @@ dependencies = [ "serde", ] +[[package]] +name = "cap-fs-ext" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff40fd8a96d57a204080e5debd621342612f6d6b60901201a51f518baf72691d" +dependencies = [ + "cap-primitives", + "cap-std", + "io-lifetimes", + "windows-sys 0.45.0", +] + +[[package]] +name = "cap-primitives" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9554a7698c8db4b7777f01b2237de111c5ecea169efb1190004d9069ceb289aa" +dependencies = [ + "ambient-authority", + "fs-set-times", + "io-extras", + "io-lifetimes", + "ipnet", + "maybe-owned", + "rustix", + "windows-sys 0.45.0", + "winx", +] + +[[package]] +name = "cap-rand" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "103e94d97d73504c5fa6ffb47135d5627ce5ff84a4ad37e8219103ddc291de24" +dependencies = [ + "ambient-authority", + "rand", +] + +[[package]] +name = "cap-std" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7b68a8ac703cc7bed0a46666a04b386cca214844897a69f599dcd82ea59422c" +dependencies = [ + "cap-primitives", + "io-extras", + "io-lifetimes", + "ipnet", + "rustix", +] + +[[package]] +name = "cap-time-ext" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "472931750f90fbf0731c886c2937521e25772942577a182e7ace5bc561d10e3b" +dependencies = [ + "cap-primitives", + "once_cell", + "rustix", + "winx", +] + [[package]] name = "cast" version = "0.3.0" @@ -482,12 +562,9 @@ name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" +dependencies = [ + "jobserver", +] [[package]] name = "cfg-if" @@ -620,15 +697,6 @@ dependencies = [ "os_str_bytes", ] -[[package]] -name = "cloudabi" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -dependencies = [ - "bitflags", -] - [[package]] name = "codespan" version = "0.11.1" @@ -658,12 +726,6 @@ dependencies = [ "syn", ] -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - [[package]] name = "core-foundation-sys" version = "0.8.3" @@ -679,6 +741,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "cpp_demangle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +dependencies = [ + "cfg-if", +] + [[package]] name = "cpufeatures" version = "0.2.5" @@ -690,64 +761,112 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a9c21f8042b9857bda93f6c1910b9f9f24100187a3d3d52f214a34e3dc5818" +checksum = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7853f77a6e4a33c67a69c40f5e1bb982bd2dc5c4a22e17e67b65bbccf9b33b2e" +checksum = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b" dependencies = [ - "byteorder", + "arrayvec", + "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", + "cranelift-isle", "gimli", + "hashbrown", "log", + "regalloc2", "smallvec", "target-lexicon", - "thiserror", ] [[package]] name = "cranelift-codegen-meta" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084cd6d5fb0d1da28acd72c199471bfb09acc703ec8f3bf07b1699584272a3b9" +checksum = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239" dependencies = [ "cranelift-codegen-shared", - "cranelift-entity", ] [[package]] name = "cranelift-codegen-shared" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701b599783305a58c25027a4d73f2d6b599b2d8ef3f26677275f480b4d51e05d" +checksum = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d" [[package]] name = "cranelift-entity" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b88e792b28e1ebbc0187b72ba5ba880dad083abe9231a99d19604d10c9e73f38" +checksum = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705" +dependencies = [ + "serde", +] + +[[package]] +name = "cranelift-frontend" +version = "0.93.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1" +dependencies = [ + "cranelift-codegen", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-isle" +version = "0.93.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358" [[package]] name = "cranelift-native" -version = "0.59.0" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32daf082da21c0c05d93394ff4842c2ab7c4991b1f3186a1d952f8ac660edd0b" +checksum = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41" dependencies = [ "cranelift-codegen", - "raw-cpuid", + "libc", "target-lexicon", ] +[[package]] +name = "cranelift-wasm" +version = "0.93.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5" +dependencies = [ + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "itertools", + "log", + "smallvec", + "wasmparser 0.100.0", + "wasmtime-types", +] + +[[package]] +name = "crc32fast" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +dependencies = [ + "cfg-if", +] + [[package]] name = "criterion" version = "0.3.6" @@ -826,7 +945,7 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] @@ -836,7 +955,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] @@ -848,9 +967,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" dependencies = [ "autocfg", - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", - "memoffset", + "memoffset 0.7.1", "scopeguard", ] @@ -860,7 +979,7 @@ version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -875,20 +994,10 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.6", + "generic-array", "typenum", ] -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - [[package]] name = "csv" version = "1.2.0" @@ -1037,24 +1146,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array 0.14.6", -] - [[package]] name = "digest" version = "0.10.6" @@ -1065,16 +1156,46 @@ dependencies = [ "crypto-common", ] +[[package]] +name = "directories-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-next" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "dirs-sys-next", ] +[[package]] +name = "dirs-sys" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + [[package]] name = "dirs-sys-next" version = "0.1.2" @@ -1108,19 +1229,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" dependencies = [ "atty", - "humantime", + "humantime 1.3.0", "log", "regex", "termcolor", ] [[package]] -name = "erased-serde" -version = "0.3.24" +name = "env_logger" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ca605381c017ec7a5fef5e548f1cfaa419ed0f6df6367339300db74c92aa7d" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ - "serde", + "humantime 2.1.0", + "is-terminal", + "log", + "regex", + "termcolor", ] [[package]] @@ -1154,6 +1279,33 @@ dependencies = [ "once_cell", ] +[[package]] +name = "fallible-iterator" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" + +[[package]] +name = "fd-lock" +version = "3.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ef1a30ae415c3a691a4f41afddc2dbcd6d70baf338368d85ebc1e8ed92cedb9" +dependencies = [ + "cfg-if", + "rustix", + "windows-sys 0.45.0", +] + +[[package]] +name = "file-per-thread-logger" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" +dependencies = [ + "env_logger 0.10.0", + "log", +] + [[package]] name = "fixedbitset" version = "0.4.2" @@ -1162,32 +1314,33 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "fluence-app-service" -version = "0.23.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942caba094d1c219ad3656d51c827470d12dac834b4325843e9f61b12bf0d0dd" +checksum = "fb49a492c0569e2862003e2d2537e7ea6708484ef6f0bcca5cc98fb8b9ca6bee" dependencies = [ "log", "maplit", "marine-min-it-version", - "marine-runtime 0.24.1", + "marine-runtime", + "marine-wasm-backend-traits", + "marine-wasmtime-backend", "serde", "serde_derive", "serde_json", "toml", - "wasmer-wasi-fl", ] [[package]] name = "fluence-it-types" -version = "0.3.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4e11b54c84babd376e0844d4973fdf7313799c4b9531757015ea6736ef14b70" +checksum = "d57951373d9ece94e8494a7b2f8a3772c56e290a7b7972a24eaecd7292b11083" dependencies = [ "it-to-bytes", - "nom 5.1.2", + "nom", "serde", "variant_count", - "wast", + "wast 53.0.0", ] [[package]] @@ -1196,6 +1349,26 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "form_urlencoded" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs-set-times" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "857cf27edcb26c2a36d84b2954019573d335bb289876113aceacacdca47a4fd4" +dependencies = [ + "io-lifetimes", + "rustix", + "windows-sys 0.45.0", +] + [[package]] name = "fstrings" version = "0.2.3" @@ -1219,22 +1392,12 @@ dependencies = [ ] [[package]] -name = "generational-arena" -version = "0.2.8" +name = "fxhash" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1d3b771574f62d0548cee0ad9057857e9fc25d7a3335f140c84f6acd0bf601" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" dependencies = [ - "cfg-if 0.1.10", - "serde", -] - -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", + "byteorder", ] [[package]] @@ -1247,47 +1410,26 @@ dependencies = [ "version_check", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "ghost" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41973d4c45f7a35af8753ba3457cc99d406d863941fd7f52663cff54a5ab99b3" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "gimli" -version = "0.20.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81dd6190aad0f05ddbbf3245c54ed14ca4aa6dd32f22312b70d8f168c3e3e633" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "byteorder", + "fallible-iterator", "indexmap", + "stable_deref_trait", ] [[package]] @@ -1301,6 +1443,9 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +dependencies = [ + "ahash", +] [[package]] name = "heck" @@ -1356,6 +1501,12 @@ dependencies = [ "quick-error", ] +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + [[package]] name = "iana-time-zone" version = "0.1.53" @@ -1392,6 +1543,16 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" +[[package]] +name = "idna" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "indenter" version = "0.3.3" @@ -1415,17 +1576,17 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] -name = "inventory" -version = "0.2.3" +name = "io-extras" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84344c6e0b90a9e2b6f3f9abe5cc74402684e348df7b32adca28747e0cef091a" +checksum = "d79107d6e60d78351e11f0a2dc9d0eaf304a7efb592e92603783afb8479c7d97" dependencies = [ - "ctor", - "ghost", + "io-lifetimes", + "windows-sys 0.45.0", ] [[package]] @@ -1435,9 +1596,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.45.0", ] +[[package]] +name = "ipnet" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146" + [[package]] name = "is-terminal" version = "0.4.3" @@ -1447,14 +1614,14 @@ dependencies = [ "hermit-abi 0.3.1", "io-lifetimes", "rustix", - "windows-sys", + "windows-sys 0.45.0", ] [[package]] name = "it-json-serde" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3f68d6c0e26f35c3d7f0176fcd14b2884c9e954ded51461a7a49f25a20b480" +checksum = "5f91f4d5bc0e54de8cea8aff5da78c06609ad8816872ba3c521058321474df5c" dependencies = [ "serde", "serde_derive", @@ -1465,9 +1632,9 @@ dependencies = [ [[package]] name = "it-lilo" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59726dde6ea2df9ad15bb67341103879cb94f26642ee0e40bf9a426f8e69bec8" +checksum = "89811f46f772c0a839ba49cef3e976ff7cc57d899328c739bf25e8d0d9491ac1" dependencies = [ "fluence-it-types", "it-memory-traits", @@ -1478,9 +1645,9 @@ dependencies = [ [[package]] name = "it-memory-traits" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40e8f26dd64f9c94c7e9c39b2be7bac4e3c946ca31bb5db4a13298199a4d56a2" +checksum = "d563f2a6baee17cf471b7951dfb96ab17fecc5e8947de39f1057cf3fb4cc906d" dependencies = [ "thiserror", ] @@ -1506,6 +1673,35 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" +[[package]] +name = "ittapi" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e648c437172ce7d3ac35ca11a068755072054826fa455a916b43524fa4a62a7" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9b32a4d23f72548178dde54f3c12c6b6a08598e25575c0d0fa5bd861e0dc1a5" +dependencies = [ + "cc", +] + +[[package]] +name = "jobserver" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +dependencies = [ + "libc", +] + [[package]] name = "js-sys" version = "0.3.59" @@ -1559,19 +1755,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" -[[package]] -name = "lexical-core" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" -dependencies = [ - "arrayvec", - "bitflags", - "cfg-if 1.0.0", - "ryu", - "static_assertions", -] - [[package]] name = "libc" version = "0.2.139" @@ -1593,15 +1776,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" -[[package]] -name = "lock_api" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" -dependencies = [ - "scopeguard", -] - [[package]] name = "lock_api" version = "0.4.9" @@ -1618,7 +1792,16 @@ version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", +] + +[[package]] +name = "mach" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +dependencies = [ + "libc", ] [[package]] @@ -1629,9 +1812,9 @@ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" [[package]] name = "marine-core" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec214534c429191be20933848b185cd4ff614eac6a8d49edfa70f04087730288" +checksum = "7992c34351e7f0e8ab30a2b567dcf53b09b7eee65f079657eeb68c0a190182ae" dependencies = [ "anyhow", "boolinator", @@ -1646,25 +1829,24 @@ dependencies = [ "marine-module-info-parser", "marine-module-interface", "marine-utils", + "marine-wasm-backend-traits", + "marine-wasmtime-backend", "multimap", "once_cell", "parity-wasm 0.45.0", "paste", "pwasm-utils", - "semver 1.0.17", + "semver", "serde", "thiserror", "wasmer-interface-types-fl", - "wasmer-runtime-core-fl", - "wasmer-runtime-fl", - "wasmer-wasi-fl", ] [[package]] name = "marine-it-generator" -version = "0.9.5" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd47a34f51b0767bb28b3aea97d0a89716952ebe11bcf151e09a7d7c2e5eb12" +checksum = "92b3410e5ce417b6cefc497cd7e5c667b6af492b0e1d505f61b489e9f24b9bde" dependencies = [ "it-lilo", "marine-it-parser", @@ -1679,9 +1861,9 @@ dependencies = [ [[package]] name = "marine-it-interfaces" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57037e5bf10449d7603ea7ff1012aae3a6f77e266e4a1cc1decabeb5e0f9924" +checksum = "02fdf6c3d6ff2875d9c6c0ffc9cdde80ad22a4d61a1b4312d5c7ee83b2b7e273" dependencies = [ "multimap", "wasmer-interface-types-fl", @@ -1689,21 +1871,21 @@ dependencies = [ [[package]] name = "marine-it-parser" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e9902762a0575a992c8d6bea77d1a34f485b89ce1db438f28d9babd2ac72f3" +checksum = "f00bb7e477431bf04d8eae80ee18c473fc87ed182d69bf024a14698478e1f56f" dependencies = [ "anyhow", "itertools", "marine-it-interfaces", "marine-module-interface", - "nom 5.1.2", - "semver 1.0.17", + "marine-wasm-backend-traits", + "nom", + "semver", "serde", "thiserror", "walrus", "wasmer-interface-types-fl", - "wasmer-runtime-core-fl", ] [[package]] @@ -1731,41 +1913,41 @@ dependencies = [ [[package]] name = "marine-min-it-version" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23211d31dc45b0941666e867e717c951d3f446c27ddbf148b4fa62c4de1f159" +checksum = "4a501fd122de0e7ffd4b97ed0431a7ff55c09aaab0ac72486d09cdd0b9555b32" dependencies = [ "once_cell", - "semver 1.0.17", + "semver", ] [[package]] name = "marine-module-info-parser" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c2fa2dd89f704680d957aabdb6f0babdf5b041744739db5e5b36965b1b8ed1" +checksum = "03e0b20701e6f55911d341f2b659a7d9f36ba94ee15419b8166c00ddc7d65ce7" dependencies = [ "anyhow", "chrono", "marine-rs-sdk-main", - "semver 1.0.17", + "marine-wasm-backend-traits", + "semver", "serde", "thiserror", "walrus", - "wasmer-runtime-core-fl", ] [[package]] name = "marine-module-interface" -version = "0.6.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "311dad103f02acae6371adbeecbb18e01a0daf3fac7b9947ee020581f38841fa" +checksum = "fc19dfc36acc161498a2eb02baa81467ab78535b2d0b0726edd8c50a80263457" dependencies = [ "anyhow", "itertools", "marine-it-interfaces", - "nom 5.1.2", - "semver 1.0.17", + "nom", + "semver", "serde", "thiserror", "walrus", @@ -1797,12 +1979,13 @@ dependencies = [ [[package]] name = "marine-runtime" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545262bf5b68d2b4f4b9eed2557f09421cc4bb62a10e71c307140f27b6411b9c" +checksum = "07f2563c41dbdb8a055322c4e6d3aa1072fc3dabfb358e78cdbe4c263a5a68f1" dependencies = [ "bytesize", "it-json-serde", + "it-memory-traits", "itertools", "log", "marine-core", @@ -1810,6 +1993,9 @@ dependencies = [ "marine-rs-sdk", "marine-rs-sdk-main", "marine-utils", + "marine-wasm-backend-traits", + "marine-wasmtime-backend", + "parking_lot 0.12.1", "safe-transmute", "serde", "serde_derive", @@ -1818,37 +2004,6 @@ dependencies = [ "thiserror", "toml", "wasmer-interface-types-fl", - "wasmer-runtime-core-fl", - "wasmer-runtime-fl", - "wasmer-wasi-fl", -] - -[[package]] -name = "marine-runtime" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c18411817a9bcfcc6e6322d12c91d5f6265dd9dc16b696e1c7703e47d2a23b7" -dependencies = [ - "bytesize", - "it-json-serde", - "itertools", - "log", - "marine-core", - "marine-module-interface", - "marine-rs-sdk", - "marine-rs-sdk-main", - "marine-utils", - "safe-transmute", - "serde", - "serde_derive", - "serde_json", - "serde_with", - "thiserror", - "toml", - "wasmer-interface-types-fl", - "wasmer-runtime-core-fl", - "wasmer-runtime-fl", - "wasmer-wasi-fl", ] [[package]] @@ -1863,9 +2018,41 @@ dependencies = [ [[package]] name = "marine-utils" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cff7a23a7f3925a712c34dfb9cd87994012d7743f016fd1533e12ab5a8335ca" +checksum = "7e86cb57ff0e2fdc8e188a52d388287d38e5cc781eddd09a82d20f8ee1f48b80" + +[[package]] +name = "marine-wasm-backend-traits" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a31fcefa80ee7d067b22456fa834dd64b2f82de0443cfb7f51ef7df83f9255a" +dependencies = [ + "anyhow", + "it-memory-traits", + "multimap", + "paste", + "thiserror", + "wasmer-interface-types-fl", + "wasmparser 0.101.1", +] + +[[package]] +name = "marine-wasmtime-backend" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a8aeb3e06867363bd177dba64dee12b2166343bcf917a4d1b322e577d4f65a5" +dependencies = [ + "anyhow", + "it-memory-traits", + "log", + "marine-wasm-backend-traits", + "multimap", + "paste", + "wasmer-interface-types-fl", + "wasmtime", + "wasmtime-wasi", +] [[package]] name = "matchers" @@ -1876,6 +2063,12 @@ dependencies = [ "regex-automata", ] +[[package]] +name = "maybe-owned" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" + [[package]] name = "memchr" version = "2.5.0" @@ -1883,13 +2076,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] -name = "memmap" -version = "0.7.0" +name = "memfd" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" +checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" dependencies = [ - "libc", - "winapi", + "rustix", +] + +[[package]] +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +dependencies = [ + "autocfg", ] [[package]] @@ -1925,7 +2126,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15e5d911412e631e1de11eb313e4dd71f73fd964401102aab23d6c8327c431ba" dependencies = [ "core2", - "digest 0.10.6", + "digest", "multihash-derive", "sha2", "unsigned-varint", @@ -1960,30 +2161,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" -[[package]] -name = "nix" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2e0b4f3320ed72aaedb9a5ac838690a8047c7b275da22711fddff4f8a14229" -dependencies = [ - "bitflags", - "cc", - "cfg-if 0.1.10", - "libc", - "void", -] - -[[package]] -name = "nom" -version = "5.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" -dependencies = [ - "lexical-core", - "memchr", - "version_check", -] - [[package]] name = "nom" version = "7.1.3" @@ -2002,7 +2179,7 @@ checksum = "b1e299bf5ea7b212e811e71174c5d1a5d065c4c0ad0c8691ecb1f97e3e66025e" dependencies = [ "bytecount", "memchr", - "nom 7.1.3", + "nom", ] [[package]] @@ -2043,6 +2220,18 @@ dependencies = [ "libc", ] +[[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "crc32fast", + "hashbrown", + "indexmap", + "memchr", +] + [[package]] name = "object-pool" version = "0.5.4" @@ -2079,16 +2268,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "page_size" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eebde548fbbf1ea81a99b128872779c437752fb99f217c45245e1a61dcd9edcd" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "parity-wasm" version = "0.42.2" @@ -2101,16 +2280,6 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" -[[package]] -name = "parking_lot" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" -dependencies = [ - "lock_api 0.3.4", - "parking_lot_core 0.7.3", -] - [[package]] name = "parking_lot" version = "0.11.2" @@ -2118,7 +2287,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", - "lock_api 0.4.9", + "lock_api", "parking_lot_core 0.8.6", ] @@ -2128,34 +2297,20 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ - "lock_api 0.4.9", + "lock_api", "parking_lot_core 0.9.7", ] -[[package]] -name = "parking_lot_core" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93f386bb233083c799e6e642a9d73db98c24a5deeb95ffc85bf281255dffc98" -dependencies = [ - "cfg-if 0.1.10", - "cloudabi", - "libc", - "redox_syscall 0.1.57", - "smallvec", - "winapi", -] - [[package]] name = "parking_lot_core" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "instant", "libc", - "redox_syscall 0.2.16", + "redox_syscall", "smallvec", "winapi", ] @@ -2166,11 +2321,11 @@ version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", - "redox_syscall 0.2.16", + "redox_syscall", "smallvec", - "windows-sys", + "windows-sys 0.45.0", ] [[package]] @@ -2179,6 +2334,12 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" +[[package]] +name = "percent-encoding" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" + [[package]] name = "petgraph" version = "0.6.3" @@ -2210,6 +2371,12 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +[[package]] +name = "pkg-config" +version = "0.3.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" + [[package]] name = "plotters" version = "0.3.4" @@ -2247,6 +2414,12 @@ dependencies = [ "serde", ] +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + [[package]] name = "precomputed-hash" version = "0.1.1" @@ -2326,6 +2499,15 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + [[package]] name = "pwasm-utils" version = "0.19.0" @@ -2353,14 +2535,33 @@ dependencies = [ ] [[package]] -name = "raw-cpuid" -version = "7.0.4" +name = "rand" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beb71f708fe39b2c5e98076204c3cc094ee5a4c12c4cdb119a2b72dc34164f41" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "bitflags", - "cc", - "rustc_version", + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", ] [[package]] @@ -2385,12 +2586,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "redox_syscall" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" - [[package]] name = "redox_syscall" version = "0.2.16" @@ -2406,11 +2601,23 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.8", - "redox_syscall 0.2.16", + "getrandom", + "redox_syscall", "thiserror", ] +[[package]] +name = "regalloc2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" +dependencies = [ + "fxhash", + "log", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.7.1" @@ -2438,13 +2645,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] -name = "rustc_version" -version = "0.2.3" +name = "rustc-demangle" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] +checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" [[package]] name = "rustix" @@ -2455,9 +2659,11 @@ dependencies = [ "bitflags", "errno", "io-lifetimes", + "itoa", "libc", "linux-raw-sys", - "windows-sys", + "once_cell", + "windows-sys 0.45.0", ] [[package]] @@ -2499,15 +2705,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - [[package]] name = "semver" version = "1.0.17" @@ -2517,12 +2714,6 @@ dependencies = [ "serde", ] -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" version = "1.0.155" @@ -2532,16 +2723,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde-bench" -version = "0.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d733da87e79faaac25616e33d26299a41143fd4cd42746cbb0e91d8feea243fd" -dependencies = [ - "byteorder", - "serde", -] - [[package]] name = "serde_bytes" version = "0.11.9" @@ -2617,9 +2798,9 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest", ] [[package]] @@ -2631,12 +2812,27 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "shellexpand" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ccc8076840c4da029af4f87e4e8daeb0fca6b87bbb02e10cb60b791450e11e4" +dependencies = [ + "dirs", +] + [[package]] name = "siphasher" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" +[[package]] +name = "slice-group-by" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" + [[package]] name = "smallvec" version = "1.10.0" @@ -2644,10 +2840,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] -name = "static_assertions" -version = "1.1.0" +name = "stable_deref_trait" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "string_cache" @@ -2690,12 +2886,6 @@ dependencies = [ "syn", ] -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - [[package]] name = "syn" version = "1.0.107" @@ -2720,10 +2910,26 @@ dependencies = [ ] [[package]] -name = "target-lexicon" -version = "0.10.0" +name = "system-interface" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab0e7238dcc7b40a7be719a25365910f6807bd864f4cce6b2e6b873658e2b19d" +checksum = "f355df185d945435f24c51fda9bf01bea6acb6c0b753e1241e5cc05413a659d4" +dependencies = [ + "bitflags", + "cap-fs-ext", + "cap-std", + "fd-lock", + "io-lifetimes", + "rustix", + "windows-sys 0.45.0", + "winx", +] + +[[package]] +name = "target-lexicon" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5" [[package]] name = "term" @@ -2786,7 +2992,7 @@ version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", ] @@ -2847,6 +3053,21 @@ dependencies = [ "serde_json", ] +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + [[package]] name = "toml" version = "0.5.11" @@ -2862,7 +3083,8 @@ version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", + "log", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -2926,28 +3148,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] -name = "typetag" -version = "0.1.8" +name = "unicode-bidi" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4080564c5b2241b5bff53ab610082234e0c57b0417f4bd10596f183001505b8a" -dependencies = [ - "erased-serde", - "inventory", - "once_cell", - "serde", - "typetag-impl", -] - -[[package]] -name = "typetag-impl" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e60147782cc30833c05fba3bab1d9b5771b2685a2557672ac96fa5d154099c0e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] +checksum = "524b68aca1d05e03fdf03fcdce2c6c94b6daf6d16861ddaa7e4f2b6638a9052c" [[package]] name = "unicode-ident" @@ -2955,6 +3159,15 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" +[[package]] +name = "unicode-normalization" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +dependencies = [ + "tinyvec", +] + [[package]] name = "unicode-segmentation" version = "1.10.1" @@ -2979,6 +3192,17 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" +[[package]] +name = "url" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + [[package]] name = "valuable" version = "0.1.0" @@ -3001,12 +3225,6 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - [[package]] name = "walkdir" version = "2.3.2" @@ -3044,12 +3262,6 @@ dependencies = [ "syn", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.10.0+wasi-snapshot-preview1" @@ -3063,12 +3275,55 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] -name = "wasm-bindgen" -version = "0.2.82" +name = "wasi-cap-std-sync" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" +checksum = "6e90aedcb27963f120aaa7d27216c463f7e8a4f8277434dac88c836a856325dd" dependencies = [ - "cfg-if 1.0.0", + "anyhow", + "async-trait", + "cap-fs-ext", + "cap-rand", + "cap-std", + "cap-time-ext", + "fs-set-times", + "io-extras", + "io-lifetimes", + "is-terminal", + "once_cell", + "rustix", + "system-interface", + "tracing", + "wasi-common", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasi-common" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae6ce6df8b37388a7772aacb9c5d4e9384f97f0abb1984983f892471c952e5be" +dependencies = [ + "anyhow", + "bitflags", + "cap-rand", + "cap-std", + "io-extras", + "rustix", + "thiserror", + "tracing", + "wasmtime", + "wiggle", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" +dependencies = [ + "cfg-if", "serde", "serde_json", "wasm-bindgen-macro", @@ -3076,9 +3331,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.82" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" +checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" dependencies = [ "bumpalo", "log", @@ -3091,9 +3346,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.82" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" +checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3101,9 +3356,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.82" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" +checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" dependencies = [ "proc-macro2", "quote", @@ -3114,67 +3369,33 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.82" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" +checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" [[package]] -name = "wasmer-clif-backend-fl" -version = "0.17.0" +name = "wasm-encoder" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532fb6cef712d9cd1ec68f9fc561447df33313393926f9bdb91fc3d67eed918f" +checksum = "1c3e4bc09095436c8e7584d86d33e6c3ee67045af8fb262cbb9cc321de553428" dependencies = [ - "byteorder", - "cranelift-codegen", - "cranelift-entity", - "cranelift-native", - "libc", - "nix", - "rayon", - "serde", - "serde-bench", - "serde_bytes", - "serde_derive", - "target-lexicon", - "wasmer-clif-fork-frontend", - "wasmer-clif-fork-wasm", - "wasmer-runtime-core-fl", - "wasmer-win-exception-handler", - "wasmparser 0.51.4", - "winapi", + "leb128", ] [[package]] -name = "wasmer-clif-fork-frontend" -version = "0.59.0" +name = "wasm-encoder" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c23f2824f354a00a77e4b040eef6e1d4c595a8a3e9013bad65199cc8dade9a5a" +checksum = "4eff853c4f09eec94d76af527eddad4e9de13b11d6286a1ef7134bc30135a2b7" dependencies = [ - "cranelift-codegen", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "wasmer-clif-fork-wasm" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a35e21d3aebc51cc6ebc0e830cf8458a9891c3482fb3c65ad18d408102929ae5" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "log", - "thiserror", - "wasmer-clif-fork-frontend", - "wasmparser 0.51.4", + "leb128", ] [[package]] name = "wasmer-interface-types-fl" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2a3bf176a65a5a1a136be5b9440395c2ba4493a3a07ea70cac553fe924185d" +checksum = "9b3d15a6608fcdd309d6b4439616629ad84dbf28a21dba5bce447254a040b8a8" dependencies = [ "fluence-it-types", "it-lilo", @@ -3182,125 +3403,15 @@ dependencies = [ "it-to-bytes", "itertools", "log", - "nom 5.1.2", + "nom", "safe-transmute", - "semver 1.0.17", + "semver", "serde", "serde_json", "thiserror", - "wast", + "wast 53.0.0", ] -[[package]] -name = "wasmer-runtime-core" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "740161245998752cf1a567e860fd6355df0336fedca6be1940ec7aaa59643220" -dependencies = [ - "bincode", - "blake3", - "cc", - "digest 0.8.1", - "errno", - "hex", - "indexmap", - "lazy_static", - "libc", - "nix", - "page_size", - "parking_lot 0.10.2", - "rustc_version", - "serde", - "serde-bench", - "serde_bytes", - "serde_derive", - "smallvec", - "target-lexicon", - "wasmparser 0.51.4", - "winapi", -] - -[[package]] -name = "wasmer-runtime-core-fl" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0d5ac3e0603e5f0ffaf11cbd854eea7c3b609ab4b676f71968f2bc47f9e3c4a" -dependencies = [ - "bincode", - "blake3", - "cc", - "digest 0.8.1", - "errno", - "hex", - "indexmap", - "lazy_static", - "libc", - "nix", - "page_size", - "parking_lot 0.10.2", - "rustc_version", - "serde", - "serde-bench", - "serde_bytes", - "serde_derive", - "smallvec", - "target-lexicon", - "wasmparser 0.51.4", - "winapi", -] - -[[package]] -name = "wasmer-runtime-fl" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5688460204d9f644d846300d041632cf34c4b4f83a955c0a67e600030376d2ee" -dependencies = [ - "lazy_static", - "memmap", - "serde", - "serde_derive", - "wasmer-clif-backend-fl", - "wasmer-runtime-core-fl", -] - -[[package]] -name = "wasmer-wasi-fl" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0f331ec6fb16590946f61b2418cd5295c4f3aa772c77eb054bea250a8fdb71" -dependencies = [ - "bincode", - "byteorder", - "generational-arena", - "getrandom 0.1.16", - "libc", - "log", - "serde", - "thiserror", - "time 0.1.45", - "typetag", - "wasmer-runtime-core-fl", - "winapi", -] - -[[package]] -name = "wasmer-win-exception-handler" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd39f3b2bd7964b28ea6f944a7eaa445cfbc91c4f2695d188103f2689bb37d9" -dependencies = [ - "cc", - "libc", - "wasmer-runtime-core", - "winapi", -] - -[[package]] -name = "wasmparser" -version = "0.51.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb1956b19469d1c5e63e459d29e7b5aa0f558d9f16fcef09736f8a265e6c10a" - [[package]] name = "wasmparser" version = "0.77.0" @@ -3308,14 +3419,261 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b35c86d22e720a07d954ebbed772d01180501afe7d03d464f413bb5f8914a8d6" [[package]] -name = "wast" -version = "8.0.0" +name = "wasmparser" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9df3d716118a503b2f6bbb6ff46b21997ab0cc167b01de7a188e45e4b01e8d" +checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" +dependencies = [ + "indexmap", + "url", +] + +[[package]] +name = "wasmparser" +version = "0.101.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf2f22ef84ac5666544afa52f326f13e16f3d019d2e61e704fd8091c9358b130" +dependencies = [ + "indexmap", + "url", +] + +[[package]] +name = "wasmtime" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap", + "libc", + "log", + "object", + "once_cell", + "paste", + "psm", + "rayon", + "serde", + "target-lexicon", + "wasmparser 0.100.0", + "wasmtime-cache", + "wasmtime-cranelift", + "wasmtime-environ", + "wasmtime-jit", + "wasmtime-runtime", + "wat", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-cache" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b389ae9b678b9c3851091a4804f4182d688d27aff7abc9aa37fa7be37d8ecffa" +dependencies = [ + "anyhow", + "base64", + "bincode", + "directories-next", + "file-per-thread-logger", + "log", + "rustix", + "serde", + "sha2", + "toml", + "windows-sys 0.42.0", + "zstd", +] + +[[package]] +name = "wasmtime-cranelift" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "cranelift-wasm", + "gimli", + "log", + "object", + "target-lexicon", + "thiserror", + "wasmparser 0.100.0", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-environ" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883" +dependencies = [ + "anyhow", + "cranelift-entity", + "gimli", + "indexmap", + "log", + "object", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.100.0", + "wasmtime-types", +] + +[[package]] +name = "wasmtime-jit" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6" +dependencies = [ + "addr2line", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli", + "ittapi", + "log", + "object", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ", + "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f" +dependencies = [ + "object", + "once_cell", + "rustix", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime-runtime" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.6.5", + "paste", + "rand", + "rustix", + "wasmtime-asm-macros", + "wasmtime-environ", + "wasmtime-jit-debug", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime-types" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2" +dependencies = [ + "cranelift-entity", + "serde", + "thiserror", + "wasmparser 0.100.0", +] + +[[package]] +name = "wasmtime-wasi" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38e749611f4ea64f19ad4da2324c86043f49ad946e6cc4ce057308d1319b2ba6" +dependencies = [ + "anyhow", + "wasi-cap-std-sync", + "wasi-common", + "wasmtime", + "wiggle", +] + +[[package]] +name = "wast" +version = "35.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68" dependencies = [ "leb128", ] +[[package]] +name = "wast" +version = "53.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8244fa24196b1d8fd3ca4a96a3a164c40f846498c5deab6caf414c67340ca4af" +dependencies = [ + "leb128", + "memchr", + "unicode-width", + "wasm-encoder 0.23.0", +] + +[[package]] +name = "wast" +version = "55.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4984d3e1406571f4930ba5cf79bd70f75f41d0e87e17506e0bd19b0e5d085f05" +dependencies = [ + "leb128", + "memchr", + "unicode-width", + "wasm-encoder 0.25.0", +] + +[[package]] +name = "wat" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af2b53f4da14db05d32e70e9c617abdf6620c575bd5dd972b7400037b4df2091" +dependencies = [ + "wast 55.0.0", +] + [[package]] name = "web-sys" version = "0.3.59" @@ -3326,6 +3684,48 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "wiggle" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba2420f80af94fc0e6f54ec45de6f6eb5b06b9b9ad2d1bd1923ed8a1288031b4" +dependencies = [ + "anyhow", + "async-trait", + "bitflags", + "thiserror", + "tracing", + "wasmtime", + "wiggle-macro", +] + +[[package]] +name = "wiggle-generate" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93b0e0ff7e9d9c0b390475c07eedfeddb4e4259baba00032dacfe079616b689a" +dependencies = [ + "anyhow", + "heck 0.4.1", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + +[[package]] +name = "wiggle-macro" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "750332a587ddc8372d260ea1792a276b1c908cd93782e2da30c19db075d4d7a8" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate", +] + [[package]] name = "winapi" version = "0.3.9" @@ -3357,6 +3757,21 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -3423,8 +3838,61 @@ version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" +[[package]] +name = "winx" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "129cd8ee937d535e1a239d9d3c9c0525af0454bc0967d9211a251be062513520" +dependencies = [ + "bitflags", + "io-lifetimes", + "windows-sys 0.45.0", +] + +[[package]] +name = "witx" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e366f27a5cabcddb2706a78296a40b8fcc451e1a6aba2fc1d94b4a01bdaaef4b" +dependencies = [ + "anyhow", + "log", + "thiserror", + "wast 35.0.2", +] + [[package]] name = "yansi" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.7+zstd.1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94509c3ba2fe55294d752b79842c530ccfab760192521df74a081a78d2b3c7f5" +dependencies = [ + "cc", + "libc", + "pkg-config", +] diff --git a/air-interpreter/Cargo.toml b/air-interpreter/Cargo.toml index 3d522c57..c47aeb8c 100644 --- a/air-interpreter/Cargo.toml +++ b/air-interpreter/Cargo.toml @@ -24,7 +24,7 @@ air-log-targets = { version = "0.1.0", path = "../crates/air-lib/log-targets" } marine-rs-sdk = { version = "0.7.1", features = ["logger"] } -wasm-bindgen = "=0.2.82" +wasm-bindgen = "=0.2.83" log = "0.4.17" serde = { version = "1.0.155", features = [ "derive", "rc" ] } diff --git a/air/Cargo.toml b/air/Cargo.toml index 78f42e64..1c9882fc 100644 --- a/air/Cargo.toml +++ b/air/Cargo.toml @@ -46,7 +46,7 @@ tracing = "0.1.37" [dev_dependencies] air-test-utils = { version = "0.4.1", path = "../crates/air-lib/test-utils" } air-testing-framework = { version = "0.1.1", path = "../crates/testing-framework" } -fluence-app-service = "0.23.0" +fluence-app-service = "0.25.0" marine-rs-sdk = { version = "0.7.0", features = ["logger"] } # the feature just silence a warning in the criterion 0.3.x. diff --git a/air/tests/test_module/features/tetraplets/security_tetraplets.rs b/air/tests/test_module/features/tetraplets/security_tetraplets.rs index da59048c..b35a9fbb 100644 --- a/air/tests/test_module/features/tetraplets/security_tetraplets.rs +++ b/air/tests/test_module/features/tetraplets/security_tetraplets.rs @@ -223,6 +223,7 @@ fn construct_service_config(module_name: impl Into) -> AppServiceConfig let service_base_dir = std::env::temp_dir(); AppServiceConfig { + service_working_dir: service_base_dir.clone(), service_base_dir, marine_config, } @@ -260,7 +261,7 @@ fn tetraplet_with_wasm_modules() { call_parameters.tetraplets = tetraplets; let mut service = services_inner.borrow_mut(); - let service: &mut AppService = service.get_mut(params.service_id.as_str()).unwrap(); + let service = service.get_mut(params.service_id.as_str()).unwrap(); let result = service .call(params.function_name, JValue::Array(params.arguments), call_parameters) diff --git a/avm/server/Cargo.toml b/avm/server/Cargo.toml index 48c3bfb4..1e42a116 100644 --- a/avm/server/Cargo.toml +++ b/avm/server/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" air-interpreter-interface = { version = "0.12.1", path = "../../crates/air-lib/interpreter-interface" } air-utils = { version = "0.1.0", path = "../../crates/air-lib/utils" } avm-data-store = { version = "0.6.0", path = "../../crates/data-store" } -marine-runtime = "0.25.0" +marine-runtime = "0.26.0" polyplets = { version = "0.3.2", path = "../../crates/air-lib/polyplets" } avm-interface = { version = "0.28.2", path = "../../avm/interface" } diff --git a/avm/server/src/lib.rs b/avm/server/src/lib.rs index 4a0b3ce3..92c0a520 100644 --- a/avm/server/src/lib.rs +++ b/avm/server/src/lib.rs @@ -43,7 +43,6 @@ pub mod avm_runner { // Re-exports pub use marine::ne_vec; -pub use marine::Ctx; pub use marine::HostExportedFunc; pub use marine::HostImportDescriptor; pub use marine::HostImportError; diff --git a/benches/PERFORMANCE.json b/benches/PERFORMANCE.json index 7b647896..5a8e0545 100644 --- a/benches/PERFORMANCE.json +++ b/benches/PERFORMANCE.json @@ -6,115 +6,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "2.05s", + "duration": "14.17ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "172.60ms", + "duration": "6.08ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "172.50ms", + "duration": "6.00ms", "nested": { - "to_vec(call_results)": "34.00µs", - "to_vec(data)": "170.60ms" + "to_vec(call_results)": "17.00µs", + "to_vec(data)": "4.95ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.88s", + "duration": "7.87ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "79.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.88s", - "air_parser::parser::air_parser::parse": "103.00µs" + "air::preparation_step::preparation::make_exec_ctx": "40.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "7.61ms", + "air_parser::parser::air_parser::parse": "66.00µs" } }, - "runner::execute": "28.00µs" + "runner::execute": "18.00µs" } } }, - "total_time": "2.05s" + "total_time": "14.17ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "180.10ms", + "duration": "89.32ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "28.69ms", + "duration": "469.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "28.61ms", + "duration": "415.00µs", "nested": { - "to_vec(call_results)": "45.00µs", - "to_vec(data)": "28.26ms" + "to_vec(call_results)": "33.00µs", + "to_vec(data)": "215.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "33.35ms", + "duration": "1.06ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "111.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "32.33ms", - "air_parser::parser::air_parser::parse": "587.00µs" + "air::preparation_step::preparation::make_exec_ctx": "56.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "589.00µs", + "air_parser::parser::air_parser::parse": "233.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "117.90ms", + "duration": "87.58ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "105.62ms", + "duration": "78.38ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "11.06ms", + "duration": "7.91ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "1.07ms", + "duration": "678.00µs", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "54.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "36.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "657.00µs", + "duration": "416.00µs", "nested": { - "resolve_variable": "210.00µs" + "resolve_variable": "131.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.53ms", + "duration": "1.09ms", "nested": { - "resolve_variable": "482.00µs" + "resolve_variable": "362.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "68.98ms", + "duration": "50.99ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "51.42ms", + "duration": "37.72ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "31.75ms", + "duration": "23.15ms", "nested": { - "resolve_variable": "10.31ms" + "resolve_variable": "7.40ms" } } } @@ -128,108 +128,108 @@ } } }, - "total_time": "180.10ms" + "total_time": "89.32ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "547.50ms", + "duration": "4.44ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "33.98ms", + "duration": "1.32ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "33.84ms", + "duration": "1.24ms", "nested": { - "to_vec(call_results)": "37.00µs", - "to_vec(data)": "32.87ms" + "to_vec(call_results)": "23.00µs", + "to_vec(data)": "672.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "513.30ms", + "duration": "2.88ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "128.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "512.80ms", - "air_parser::parser::air_parser::parse": "112.00µs" + "air::preparation_step::preparation::make_exec_ctx": "64.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "2.59ms", + "air_parser::parser::air_parser::parse": "63.00µs" } }, - "runner::execute": "27.00µs" + "runner::execute": "22.00µs" } } }, - "total_time": "547.50ms" + "total_time": "4.44ms" }, "network_explore": { "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "11.61ms", + "duration": "8.09ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "409.00µs", + "duration": "256.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "332.00µs", + "duration": "198.00µs", "nested": { - "to_vec(call_results)": "30.00µs", - "to_vec(data)": "124.00µs" + "to_vec(call_results)": "21.00µs", + "to_vec(data)": "62.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.15ms", + "duration": "661.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "109.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "408.00µs", - "air_parser::parser::air_parser::parse": "382.00µs" + "air::preparation_step::preparation::make_exec_ctx": "60.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "244.00µs", + "air_parser::parser::air_parser::parse": "174.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "9.75ms", + "duration": "6.94ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "8.51ms", + "duration": "6.12ms", "nested": { "execute": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.50ms", + "duration": "1.02ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "563.00µs", + "duration": "393.00µs", "nested": { - "resolve_variable": "185.00µs" + "resolve_variable": "124.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "4.95ms", + "duration": "3.57ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "3.64ms", + "duration": "2.61ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.27ms", + "duration": "1.60ms", "nested": { - "resolve_variable": "739.00µs" + "resolve_variable": "517.00µs" } } } @@ -243,47 +243,47 @@ } } }, - "total_time": "11.61ms" + "total_time": "8.09ms" }, "parser_10000_100": { "comment": "Running very long AIR script with lot of variables and assignments", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "2.26s", + "duration": "32.25ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "358.00µs", + "duration": "202.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "278.00µs", + "duration": "152.00µs", "nested": { - "to_vec(call_results)": "30.00µs", - "to_vec(data)": "88.00µs" + "to_vec(call_results)": "17.00µs", + "to_vec(data)": "45.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "2.25s", + "duration": "29.95ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "81.00µs", - "air_parser::parser::air_parser::parse": "2.25s" + "air::preparation_step::preparation::make_exec_ctx": "49.00µs", + "air_parser::parser::air_parser::parse": "29.74ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "394.00µs", + "duration": "264.00µs", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "260.00µs", + "duration": "169.00µs", "nested": { - "execute": "50.00µs", - "new": "64.00µs" + "execute": "29.00µs", + "new": "40.00µs" } } } @@ -291,10 +291,10 @@ } } }, - "total_time": "2.26s" + "total_time": "32.25ms" } }, - "datetime": "2023-02-14 04:14:24.203403+00:00", + "datetime": "2023-02-14 04:31:01.303450+00:00", "platform": "macOS-11.7.3-x86_64-i386-64bit", "version": "0.35.1" }, @@ -305,115 +305,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.13s", + "duration": "7.05ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "95.48ms", + "duration": "2.77ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "95.46ms", + "duration": "2.74ms", "nested": { - "to_vec(call_results)": "15.00µs", - "to_vec(data)": "94.55ms" + "to_vec(call_results)": "9.00µs", + "to_vec(data)": "2.21ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.03s", + "duration": "4.21ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "20.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.03s", - "air_parser::parser::air_parser::parse": "28.00µs" + "air::preparation_step::preparation::make_exec_ctx": "12.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "4.14ms", + "air_parser::parser::air_parser::parse": "15.00µs" } }, - "runner::execute": "10.00µs" + "runner::execute": "6.00µs" } } }, - "total_time": "1.13s" + "total_time": "7.05ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "105.90ms", + "duration": "45.83ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "17.93ms", + "duration": "224.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "17.89ms", + "duration": "200.00µs", "nested": { - "to_vec(call_results)": "22.00µs", - "to_vec(data)": "17.70ms" + "to_vec(call_results)": "13.00µs", + "to_vec(data)": "102.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "17.19ms", + "duration": "448.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "40.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "16.79ms", - "air_parser::parser::air_parser::parse": "227.00µs" + "air::preparation_step::preparation::make_exec_ctx": "19.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "275.00µs", + "air_parser::parser::air_parser::parse": "95.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "70.83ms", + "duration": "45.09ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "63.46ms", + "duration": "40.68ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "6.61ms", + "duration": "4.10ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "531.00µs", + "duration": "337.00µs", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "22.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "14.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "342.00µs", + "duration": "216.00µs", "nested": { - "resolve_variable": "112.00µs" + "resolve_variable": "70.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "890.00µs", + "duration": "572.00µs", "nested": { - "resolve_variable": "286.00µs" + "resolve_variable": "184.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "41.84ms", + "duration": "26.91ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "31.58ms", + "duration": "20.17ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "19.96ms", + "duration": "12.53ms", "nested": { - "resolve_variable": "6.51ms" + "resolve_variable": "4.08ms" } } } @@ -427,139 +427,60 @@ } } }, - "total_time": "105.90ms" + "total_time": "45.83ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "292.00ms", + "duration": "2.05ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "18.33ms", + "duration": "597.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "18.30ms", + "duration": "573.00µs", "nested": { - "to_vec(call_results)": "15.00µs", - "to_vec(data)": "17.75ms" + "to_vec(call_results)": "9.00µs", + "to_vec(data)": "300.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "273.50ms", + "duration": "1.39ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "53.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "273.20ms", - "air_parser::parser::air_parser::parse": "28.00µs" + "air::preparation_step::preparation::make_exec_ctx": "22.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.30ms", + "air_parser::parser::air_parser::parse": "14.00µs" } }, - "runner::execute": "10.00µs" + "runner::execute": "6.00µs" } } }, - "total_time": "292.00ms" + "total_time": "2.05ms" }, "network_explore": { "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "5.69ms", + "duration": "3.52ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "164.00µs", + "duration": "100.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "133.00µs", + "duration": "79.00µs", "nested": { - "to_vec(call_results)": "13.00µs", - "to_vec(data)": "44.00µs" - } - } - } - }, - "preparation_step::preparation::prepare": { - "common_prefix": "", - "duration": "370.00µs", - "nested": { - "air::preparation_step::preparation::make_exec_ctx": "28.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "126.00µs", - "air_parser::parser::air_parser::parse": "122.00µs" - } - }, - "runner::execute": { - "common_prefix": "air::execution_step::instructions::call", - "duration": "5.08ms", - "nested": { - "execute": { - "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "4.49ms", - "nested": { - "execute": { - "common_prefix": "air::execution_step::resolver::resolve", - "duration": "766.00µs", - "nested": { - "resolve_ast_variable": { - "common_prefix": "air::execution_step::resolver::resolve", - "duration": "298.00µs", - "nested": { - "resolve_variable": "97.00µs" - } - } - } - }, - "new": { - "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.66ms", - "nested": { - "resolve_ast_scalar": { - "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.99ms", - "nested": { - "resolve_ast_variable": { - "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.26ms", - "nested": { - "resolve_variable": "412.00µs" - } - } - } - } - } - } - } - } - } - } - } - } - }, - "total_time": "5.69ms" - }, - "parser_10000_100": { - "comment": "Running very long AIR script with lot of variables and assignments", - "stats": { - "air::runner::execute_air": { - "common_prefix": "air", - "duration": "1.25s", - "nested": { - "farewell_step::outcome::from_success_result": { - "common_prefix": "air::farewell_step::outcome", - "duration": "127.00µs", - "nested": { - "populate_outcome_from_contexts": { - "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "97.00µs", - "nested": { - "to_vec(call_results)": "13.00µs", + "to_vec(call_results)": "8.00µs", "to_vec(data)": "25.00µs" } } @@ -567,22 +488,53 @@ }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.25s", + "duration": "191.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "23.00µs", - "air_parser::parser::air_parser::parse": "1.25s" + "air::preparation_step::preparation::make_exec_ctx": "14.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "70.00µs", + "air_parser::parser::air_parser::parse": "52.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "146.00µs", + "duration": "3.17ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "101.00µs", + "duration": "2.83ms", "nested": { - "execute": "17.00µs", - "new": "20.00µs" + "execute": { + "common_prefix": "air::execution_step::resolver::resolve", + "duration": "470.00µs", + "nested": { + "resolve_ast_variable": { + "common_prefix": "air::execution_step::resolver::resolve", + "duration": "189.00µs", + "nested": { + "resolve_variable": "61.00µs" + } + } + } + }, + "new": { + "common_prefix": "air::execution_step::resolver::resolve", + "duration": "1.69ms", + "nested": { + "resolve_ast_scalar": { + "common_prefix": "air::execution_step::resolver::resolve", + "duration": "1.25ms", + "nested": { + "resolve_ast_variable": { + "common_prefix": "air::execution_step::resolver::resolve", + "duration": "780.00µs", + "nested": { + "resolve_variable": "258.00µs" + } + } + } + } + } + } } } } @@ -590,10 +542,58 @@ } } }, - "total_time": "1.25s" + "total_time": "3.52ms" + }, + "parser_10000_100": { + "comment": "Running very long AIR script with lot of variables and assignments", + "stats": { + "air::runner::execute_air": { + "common_prefix": "air", + "duration": "17.82ms", + "nested": { + "farewell_step::outcome::from_success_result": { + "common_prefix": "air::farewell_step::outcome", + "duration": "77.00µs", + "nested": { + "populate_outcome_from_contexts": { + "common_prefix": "air::farewell_step::outcome::serde_json", + "duration": "58.00µs", + "nested": { + "to_vec(call_results)": "8.00µs", + "to_vec(data)": "14.00µs" + } + } + } + }, + "preparation_step::preparation::prepare": { + "common_prefix": "", + "duration": "16.93ms", + "nested": { + "air::preparation_step::preparation::make_exec_ctx": "12.00µs", + "air_parser::parser::air_parser::parse": "16.87ms" + } + }, + "runner::execute": { + "common_prefix": "air::execution_step::instructions::call", + "duration": "95.00µs", + "nested": { + "execute": { + "common_prefix": "air::execution_step::instructions::call::resolved_call", + "duration": "65.00µs", + "nested": { + "execute": "11.00µs", + "new": "13.00µs" + } + } + } + } + } + } + }, + "total_time": "17.82ms" } }, - "datetime": "2023-02-14 07:40:29.560900+00:00", + "datetime": "2023-02-14 07:53:57.703442+00:00", "platform": "Linux-5.10.136-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.36", "version": "0.35.1" }, @@ -604,115 +604,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.19s", + "duration": "31.97ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "108.00ms", + "duration": "10.56ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "105.00ms", + "duration": "8.69ms", "nested": { - "to_vec(call_results)": "207.00µs", - "to_vec(data)": "99.50ms" + "to_vec(call_results)": "108.00µs", + "to_vec(data)": "5.66ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.07s", + "duration": "17.47ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "2.83ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.06s", - "air_parser::parser::air_parser::parse": "3.90ms" + "air::preparation_step::preparation::make_exec_ctx": "1.40ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "10.68ms", + "air_parser::parser::air_parser::parse": "1.86ms" } }, - "runner::execute": "253.00µs" + "runner::execute": "126.00µs" } } }, - "total_time": "1.19s" + "total_time": "31.97ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "192.00ms", + "duration": "103.60ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "28.70ms", + "duration": "4.71ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "27.40ms", + "duration": "3.70ms", "nested": { - "to_vec(call_results)": "282.00µs", - "to_vec(data)": "23.60ms" + "to_vec(call_results)": "162.00µs", + "to_vec(data)": "1.87ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "47.90ms", + "duration": "16.17ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "3.24ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "28.80ms", - "air_parser::parser::air_parser::parse": "12.10ms" + "air::preparation_step::preparation::make_exec_ctx": "1.61ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "5.50ms", + "air_parser::parser::air_parser::parse": "6.11ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "109.00ms", + "duration": "78.68ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "90.67ms", + "duration": "66.40ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "13.72ms", + "duration": "9.37ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "2.25ms", + "duration": "1.43ms", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "559.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "398.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "419.00µs", + "duration": "335.00µs", "nested": { - "resolve_variable": "135.00µs" + "resolve_variable": "105.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.22ms", + "duration": "946.00µs", "nested": { - "resolve_variable": "355.00µs" + "resolve_variable": "277.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "54.91ms", + "duration": "40.53ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "40.27ms", + "duration": "29.73ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "25.33ms", + "duration": "18.24ms", "nested": { - "resolve_variable": "8.27ms" + "resolve_variable": "5.84ms" } } } @@ -726,108 +726,108 @@ } } }, - "total_time": "192.00ms" + "total_time": "103.60ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "345.00ms", + "duration": "24.35ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "29.30ms", + "duration": "6.79ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "26.80ms", + "duration": "5.07ms", "nested": { - "to_vec(call_results)": "207.00µs", - "to_vec(data)": "21.70ms" + "to_vec(call_results)": "108.00µs", + "to_vec(data)": "2.23ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "310.00ms", + "duration": "13.54ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "3.37ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "298.00ms", - "air_parser::parser::air_parser::parse": "3.90ms" + "air::preparation_step::preparation::make_exec_ctx": "1.75ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "6.77ms", + "air_parser::parser::air_parser::parse": "1.84ms" } }, - "runner::execute": "253.00µs" + "runner::execute": "130.00µs" } } }, - "total_time": "345.00ms" + "total_time": "24.35ms" }, "network_explore": { "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "79.40ms", + "duration": "46.01ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "10.20ms", + "duration": "5.48ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "8.94ms", + "duration": "4.50ms", "nested": { - "to_vec(call_results)": "212.00µs", - "to_vec(data)": "4.56ms" + "to_vec(call_results)": "105.00µs", + "to_vec(data)": "2.25ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "34.00ms", + "duration": "18.74ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "4.18ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "12.86ms", - "air_parser::parser::air_parser::parse": "13.10ms" + "air::preparation_step::preparation::make_exec_ctx": "1.98ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "7.05ms", + "air_parser::parser::air_parser::parse": "6.74ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "28.90ms", + "duration": "17.86ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "15.85ms", + "duration": "9.97ms", "nested": { "execute": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "4.90ms", + "duration": "3.17ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "380.00µs", + "duration": "339.00µs", "nested": { - "resolve_variable": "125.00µs" + "resolve_variable": "94.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "6.39ms", + "duration": "4.10ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "3.86ms", + "duration": "2.65ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.74ms", + "duration": "1.67ms", "nested": { - "resolve_variable": "849.00µs" + "resolve_variable": "547.00µs" } } } @@ -841,47 +841,47 @@ } } }, - "total_time": "79.40ms" + "total_time": "46.01ms" }, "parser_10000_100": { "comment": "Running very long AIR script with lot of variables and assignments", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.36s", + "duration": "48.47ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "9.49ms", + "duration": "4.70ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "7.18ms", + "duration": "3.48ms", "nested": { - "to_vec(call_results)": "226.00µs", - "to_vec(data)": "3.37ms" + "to_vec(call_results)": "105.00µs", + "to_vec(data)": "1.60ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.33s", + "duration": "34.34ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "2.86ms", - "air_parser::parser::air_parser::parse": "1.32s" + "air::preparation_step::preparation::make_exec_ctx": "1.41ms", + "air_parser::parser::air_parser::parse": "29.66ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "7.38ms", + "duration": "4.39ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "4.63ms", + "duration": "2.00ms", "nested": { - "execute": "953.00µs", - "new": "1.26ms" + "execute": "483.00µs", + "new": "471.00µs" } } } @@ -889,10 +889,10 @@ } } }, - "total_time": "1.36s" + "total_time": "48.47ms" } }, - "datetime": "2023-02-13 16:42:08.810990+00:00", + "datetime": "2023-02-13 16:59:20.507375+00:00", "platform": "macOS-12.3.1-arm64-arm-64bit", "version": "0.35.1" }, @@ -903,115 +903,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.64s", + "duration": "12.75ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "138.40ms", + "duration": "5.85ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "138.40ms", + "duration": "5.78ms", "nested": { - "to_vec(call_results)": "28.00µs", - "to_vec(data)": "137.00ms" + "to_vec(call_results)": "18.00µs", + "to_vec(data)": "4.51ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.50s", + "duration": "6.78ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "27.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.50s", - "air_parser::parser::air_parser::parse": "36.00µs" + "air::preparation_step::preparation::make_exec_ctx": "29.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "6.62ms", + "air_parser::parser::air_parser::parse": "22.00µs" } }, - "runner::execute": "18.00µs" + "runner::execute": "11.00µs" } } }, - "total_time": "1.64s" + "total_time": "12.75ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "233.80ms", + "duration": "146.20ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "25.69ms", + "duration": "522.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "25.59ms", + "duration": "441.00µs", "nested": { - "to_vec(call_results)": "37.00µs", - "to_vec(data)": "25.25ms" + "to_vec(call_results)": "39.00µs", + "to_vec(data)": "212.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "25.75ms", + "duration": "697.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "54.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "25.15ms", - "air_parser::parser::air_parser::parse": "296.00µs" + "air::preparation_step::preparation::make_exec_ctx": "27.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "402.00µs", + "air_parser::parser::air_parser::parse": "121.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "182.20ms", + "duration": "145.10ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "164.65ms", + "duration": "131.22ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "17.22ms", + "duration": "13.68ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "1.34ms", + "duration": "959.00µs", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "53.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "41.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "861.00µs", + "duration": "610.00µs", "nested": { - "resolve_variable": "273.00µs" + "resolve_variable": "199.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.21ms", + "duration": "1.75ms", "nested": { - "resolve_variable": "698.00µs" + "resolve_variable": "555.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "106.08ms", + "duration": "83.94ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "77.35ms", + "duration": "60.95ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "46.96ms", + "duration": "36.93ms", "nested": { - "resolve_variable": "15.04ms" + "resolve_variable": "11.76ms" } } } @@ -1025,108 +1025,108 @@ } } }, - "total_time": "233.80ms" + "total_time": "146.20ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "428.30ms", + "duration": "3.41ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "26.94ms", + "duration": "1.07ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "26.87ms", + "duration": "1.00ms", "nested": { - "to_vec(call_results)": "34.00µs", - "to_vec(data)": "26.04ms" + "to_vec(call_results)": "20.00µs", + "to_vec(data)": "540.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "401.20ms", + "duration": "2.21ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "67.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "400.80ms", - "air_parser::parser::air_parser::parse": "38.00µs" + "air::preparation_step::preparation::make_exec_ctx": "50.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "2.03ms", + "air_parser::parser::air_parser::parse": "21.00µs" } }, - "runner::execute": "19.00µs" + "runner::execute": "10.00µs" } } }, - "total_time": "428.30ms" + "total_time": "3.41ms" }, "network_explore": { "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "14.09ms", + "duration": "11.17ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "379.00µs", + "duration": "306.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "292.00µs", + "duration": "228.00µs", "nested": { - "to_vec(call_results)": "37.00µs", - "to_vec(data)": "81.00µs" + "to_vec(call_results)": "32.00µs", + "to_vec(data)": "62.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "537.00µs", + "duration": "345.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "36.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "162.00µs", - "air_parser::parser::air_parser::parse": "144.00µs" + "air::preparation_step::preparation::make_exec_ctx": "22.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "102.00µs", + "air_parser::parser::air_parser::parse": "74.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "13.03ms", + "duration": "10.35ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "11.71ms", + "duration": "9.32ms", "nested": { "execute": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.97ms", + "duration": "1.55ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "759.00µs", + "duration": "592.00µs", "nested": { - "resolve_variable": "244.00µs" + "resolve_variable": "189.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "6.86ms", + "duration": "5.43ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "4.97ms", + "duration": "3.93ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "3.01ms", + "duration": "2.38ms", "nested": { - "resolve_variable": "960.00µs" + "resolve_variable": "766.00µs" } } } @@ -1140,47 +1140,47 @@ } } }, - "total_time": "14.09ms" + "total_time": "11.17ms" }, "parser_10000_100": { "comment": "Running very long AIR script with lot of variables and assignments", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.84s", + "duration": "26.83ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "262.00µs", + "duration": "205.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "189.00µs", + "duration": "149.00µs", "nested": { "to_vec(call_results)": "28.00µs", - "to_vec(data)": "45.00µs" + "to_vec(data)": "33.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.84s", + "duration": "24.70ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "33.00µs", - "air_parser::parser::air_parser::parse": "1.84s" + "air::preparation_step::preparation::make_exec_ctx": "26.00µs", + "air_parser::parser::air_parser::parse": "24.55ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "275.00µs", + "duration": "270.00µs", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "198.00µs", + "duration": "197.00µs", "nested": { - "execute": "32.00µs", - "new": "33.00µs" + "execute": "42.00µs", + "new": "42.00µs" } } } @@ -1188,10 +1188,10 @@ } } }, - "total_time": "1.84s" + "total_time": "26.83ms" } }, - "datetime": "2023-02-14 09:05:11.643709+00:00", + "datetime": "2023-02-14 10:33:54.321822+00:00", "platform": "Linux-5.15.0-60-generic-x86_64-with-glibc2.35", "version": "0.35.1" }, @@ -1202,115 +1202,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "2.04s", + "duration": "16.56ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "172.30ms", + "duration": "7.35ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "172.20ms", + "duration": "7.27ms", "nested": { - "to_vec(call_results)": "37.00µs", - "to_vec(data)": "170.30ms" + "to_vec(call_results)": "22.00µs", + "to_vec(data)": "5.96ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.87s", + "duration": "8.97ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "73.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.87s", - "air_parser::parser::air_parser::parse": "98.00µs" + "air::preparation_step::preparation::make_exec_ctx": "46.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "8.65ms", + "air_parser::parser::air_parser::parse": "78.00µs" } }, - "runner::execute": "24.00µs" + "runner::execute": "19.00µs" } } }, - "total_time": "2.04s" + "total_time": "16.56ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "188.20ms", + "duration": "105.40ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "29.39ms", + "duration": "549.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "29.33ms", + "duration": "488.00µs", "nested": { - "to_vec(call_results)": "49.00µs", - "to_vec(data)": "28.96ms" + "to_vec(call_results)": "43.00µs", + "to_vec(data)": "234.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "31.34ms", + "duration": "1.31ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "102.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "30.46ms", - "air_parser::parser::air_parser::parse": "520.00µs" + "air::preparation_step::preparation::make_exec_ctx": "64.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "737.00µs", + "air_parser::parser::air_parser::parse": "276.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "127.20ms", + "duration": "103.00ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "113.82ms", + "duration": "92.47ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "11.77ms", + "duration": "9.52ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "1.04ms", + "duration": "799.00µs", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "60.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "51.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "628.00µs", + "duration": "460.00µs", "nested": { - "resolve_variable": "204.00µs" + "resolve_variable": "145.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.55ms", + "duration": "1.42ms", "nested": { - "resolve_variable": "496.00µs" + "resolve_variable": "477.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "74.44ms", + "duration": "59.93ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "55.54ms", + "duration": "44.46ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "34.35ms", + "duration": "27.31ms", "nested": { - "resolve_variable": "11.08ms" + "resolve_variable": "8.72ms" } } } @@ -1324,108 +1324,108 @@ } } }, - "total_time": "188.20ms" + "total_time": "105.40ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "530.20ms", + "duration": "4.47ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "32.42ms", + "duration": "1.38ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "32.30ms", + "duration": "1.27ms", "nested": { - "to_vec(call_results)": "43.00µs", - "to_vec(data)": "31.36ms" + "to_vec(call_results)": "20.00µs", + "to_vec(data)": "652.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "497.40ms", + "duration": "2.82ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "124.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "497.10ms", - "air_parser::parser::air_parser::parse": "116.00µs" + "air::preparation_step::preparation::make_exec_ctx": "64.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "2.53ms", + "air_parser::parser::air_parser::parse": "63.00µs" } }, - "runner::execute": "27.00µs" + "runner::execute": "25.00µs" } } }, - "total_time": "530.20ms" + "total_time": "4.47ms" }, "network_explore": { "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "12.58ms", + "duration": "9.70ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "437.00µs", + "duration": "291.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "347.00µs", + "duration": "230.00µs", "nested": { - "to_vec(call_results)": "31.00µs", - "to_vec(data)": "128.00µs" + "to_vec(call_results)": "26.00µs", + "to_vec(data)": "79.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.23ms", + "duration": "847.00µs", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "113.00µs", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "458.00µs", - "air_parser::parser::air_parser::parse": "388.00µs" + "air::preparation_step::preparation::make_exec_ctx": "64.00µs", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "315.00µs", + "air_parser::parser::air_parser::parse": "206.00µs" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "10.61ms", + "duration": "8.29ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "9.26ms", + "duration": "7.28ms", "nested": { "execute": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.67ms", + "duration": "1.28ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "640.00µs", + "duration": "497.00µs", "nested": { - "resolve_variable": "223.00µs" + "resolve_variable": "155.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "5.36ms", + "duration": "4.24ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "3.96ms", + "duration": "2.99ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.43ms", + "duration": "1.81ms", "nested": { - "resolve_variable": "786.00µs" + "resolve_variable": "569.00µs" } } } @@ -1439,47 +1439,47 @@ } } }, - "total_time": "12.58ms" + "total_time": "9.70ms" }, "parser_10000_100": { "comment": "Running very long AIR script with lot of variables and assignments", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "2.30s", + "duration": "33.06ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "367.00µs", + "duration": "207.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "286.00µs", + "duration": "158.00µs", "nested": { - "to_vec(call_results)": "29.00µs", - "to_vec(data)": "88.00µs" + "to_vec(call_results)": "18.00µs", + "to_vec(data)": "47.00µs" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "2.30s", + "duration": "30.52ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "82.00µs", - "air_parser::parser::air_parser::parse": "2.30s" + "air::preparation_step::preparation::make_exec_ctx": "63.00µs", + "air_parser::parser::air_parser::parse": "30.28ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "407.00µs", + "duration": "270.00µs", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "274.00µs", + "duration": "167.00µs", "nested": { - "execute": "50.00µs", - "new": "62.00µs" + "execute": "29.00µs", + "new": "38.00µs" } } } @@ -1487,10 +1487,10 @@ } } }, - "total_time": "2.30s" + "total_time": "33.06ms" } }, - "datetime": "2023-02-13 12:24:06.147422+00:00", + "datetime": "2023-02-13 13:19:34.106863+00:00", "platform": "macOS-12.0.1-x86_64-i386-64bit", "version": "0.35.1" }, @@ -1501,115 +1501,115 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.20s", + "duration": "31.11ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "104.61ms", + "duration": "9.24ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "102.47ms", + "duration": "7.66ms", "nested": { - "to_vec(call_results)": "142.00µs", - "to_vec(data)": "96.71ms" + "to_vec(call_results)": "95.00µs", + "to_vec(data)": "4.74ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.09s", + "duration": "17.66ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "2.79ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "1.07s", - "air_parser::parser::air_parser::parse": "3.66ms" + "air::preparation_step::preparation::make_exec_ctx": "1.42ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "11.20ms", + "air_parser::parser::air_parser::parse": "1.73ms" } }, - "runner::execute": "262.00µs" + "runner::execute": "126.00µs" } } }, - "total_time": "1.20s" + "total_time": "31.11ms" }, "dashboard": { "comment": "big dashboard test", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "187.90ms", + "duration": "103.30ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "25.78ms", + "duration": "4.26ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "24.63ms", + "duration": "3.49ms", "nested": { - "to_vec(call_results)": "453.00µs", - "to_vec(data)": "20.87ms" + "to_vec(call_results)": "127.00µs", + "to_vec(data)": "1.73ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "46.88ms", + "duration": "16.36ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "3.15ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "26.69ms", - "air_parser::parser::air_parser::parse": "12.49ms" + "air::preparation_step::preparation::make_exec_ctx": "1.63ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "5.79ms", + "air_parser::parser::air_parser::parse": "5.98ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "109.00ms", + "duration": "78.79ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "90.78ms", + "duration": "66.87ms", "nested": { "execute": { "common_prefix": "air::execution_step", - "duration": "14.54ms", + "duration": "9.53ms", "nested": { "instructions::call::resolved_call::prepare_request_params": { "common_prefix": "air::execution_step", - "duration": "2.61ms", + "duration": "1.49ms", "nested": { - "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "621.00µs", + "instructions::call::resolved_call::serde_json::to_string(tetraplets)": "326.00µs", "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "430.00µs", + "duration": "316.00µs", "nested": { - "resolve_variable": "140.00µs" + "resolve_variable": "100.00µs" } } } }, "resolver::resolve::resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "1.31ms", + "duration": "922.00µs", "nested": { - "resolve_variable": "355.00µs" + "resolve_variable": "264.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "54.94ms", + "duration": "41.00ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "40.19ms", + "duration": "29.92ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "25.15ms", + "duration": "18.44ms", "nested": { - "resolve_variable": "8.23ms" + "resolve_variable": "5.83ms" } } } @@ -1623,108 +1623,108 @@ } } }, - "total_time": "187.90ms" + "total_time": "103.30ms" }, "long_data": { "comment": "Long data trace", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "344.40ms", + "duration": "24.19ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "29.24ms", + "duration": "6.36ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "27.04ms", + "duration": "4.77ms", "nested": { - "to_vec(call_results)": "142.00µs", - "to_vec(data)": "22.00ms" + "to_vec(call_results)": "98.00µs", + "to_vec(data)": "2.14ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "308.90ms", + "duration": "13.75ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "3.27ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "297.10ms", - "air_parser::parser::air_parser::parse": "3.65ms" + "air::preparation_step::preparation::make_exec_ctx": "1.73ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "7.07ms", + "air_parser::parser::air_parser::parse": "1.73ms" } }, - "runner::execute": "261.00µs" + "runner::execute": "127.00µs" } } }, - "total_time": "344.40ms" + "total_time": "24.19ms" }, "network_explore": { - "comment": "N peers of network are discovered", + "comment": "5 peers of network are discovered", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "80.18ms", + "duration": "45.66ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "10.68ms", + "duration": "4.96ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "9.30ms", + "duration": "4.20ms", "nested": { - "to_vec(call_results)": "138.00µs", - "to_vec(data)": "4.76ms" + "to_vec(call_results)": "94.00µs", + "to_vec(data)": "2.09ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "34.07ms", + "duration": "19.04ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "4.15ms", - "air_interpreter_data::interpreter_data::serde_json::from_slice": "11.86ms", - "air_parser::parser::air_parser::parse": "13.67ms" + "air::preparation_step::preparation::make_exec_ctx": "2.10ms", + "air_interpreter_data::interpreter_data::serde_json::from_slice": "7.41ms", + "air_parser::parser::air_parser::parse": "6.61ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "29.04ms", + "duration": "17.54ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "15.34ms", + "duration": "10.17ms", "nested": { "execute": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "5.12ms", + "duration": "3.47ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "392.00µs", + "duration": "544.00µs", "nested": { - "resolve_variable": "126.00µs" + "resolve_variable": "96.00µs" } } } }, "new": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "6.34ms", + "duration": "4.49ms", "nested": { "resolve_ast_scalar": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "3.88ms", + "duration": "2.94ms", "nested": { "resolve_ast_variable": { "common_prefix": "air::execution_step::resolver::resolve", - "duration": "2.67ms", + "duration": "1.76ms", "nested": { - "resolve_variable": "907.00µs" + "resolve_variable": "537.00µs" } } } @@ -1738,47 +1738,47 @@ } } }, - "total_time": "80.18ms" + "total_time": "45.66ms" }, "parser_10000_100": { "comment": "Running very long AIR script with lot of variables and assignments", "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "1.34s", + "duration": "46.91ms", "nested": { "farewell_step::outcome::from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "7.32ms", + "duration": "4.02ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome::serde_json", - "duration": "6.24ms", + "duration": "3.32ms", "nested": { - "to_vec(call_results)": "139.00µs", - "to_vec(data)": "2.89ms" + "to_vec(call_results)": "97.00µs", + "to_vec(data)": "1.50ms" } } } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "1.31s", + "duration": "33.50ms", "nested": { - "air::preparation_step::preparation::make_exec_ctx": "2.82ms", - "air_parser::parser::air_parser::parse": "1.31s" + "air::preparation_step::preparation::make_exec_ctx": "1.45ms", + "air_parser::parser::air_parser::parse": "28.97ms" } }, "runner::execute": { "common_prefix": "air::execution_step::instructions::call", - "duration": "7.53ms", + "duration": "4.27ms", "nested": { "execute": { "common_prefix": "air::execution_step::instructions::call::resolved_call", - "duration": "4.54ms", + "duration": "2.07ms", "nested": { - "execute": "619.00µs", - "new": "1.27ms" + "execute": "431.00µs", + "new": "475.00µs" } } } @@ -1786,11 +1786,11 @@ } } }, - "total_time": "1.34s" + "total_time": "46.91ms" } }, - "datetime": "2023-02-03 12:08:43.454860+00:00", + "datetime": "2023-02-14 11:51:40.780024+00:00", "platform": "macOS-13.1-arm64-arm-64bit", - "version": "0.35.0" + "version": "0.35.1" } } diff --git a/benches/PERFORMANCE.txt b/benches/PERFORMANCE.txt index 2dc895a0..d8ce79fd 100644 --- a/benches/PERFORMANCE.txt +++ b/benches/PERFORMANCE.txt @@ -1,492 +1,492 @@ Machine 0dfa4f098d7a6ef0d77a7bbc028ccf65fd6dc8d37be8a466ab3933a1a4a8e113: Platform: macOS-11.7.3-x86_64-i386-64bit - Timestamp: 2023-02-14 04:14:24.203403+00:00 + Timestamp: 2023-02-14 04:31:01.303450+00:00 AquaVM version: 0.35.1 Benches: - big_values_data (2.05s): Loading a trace with huge values - air::runner::execute_air: 2.05s - farewell_step::outcome::from_success_result: 172.60ms - populate_outcome_from_contexts: 172.50ms - to_vec(call_results): 34.00µs - to_vec(data): 170.60ms - preparation_step::preparation::prepare: 1.88s - air::preparation_step::preparation::make_exec_ctx: 79.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.88s - air_parser::parser::air_parser::parse: 103.00µs - runner::execute: 28.00µs - dashboard (180.10ms): big dashboard test - air::runner::execute_air: 180.10ms - farewell_step::outcome::from_success_result: 28.69ms - populate_outcome_from_contexts: 28.61ms - to_vec(call_results): 45.00µs - to_vec(data): 28.26ms - preparation_step::preparation::prepare: 33.35ms - air::preparation_step::preparation::make_exec_ctx: 111.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 32.33ms - air_parser::parser::air_parser::parse: 587.00µs - runner::execute: 117.90ms - execute: 105.62ms - execute: 11.06ms - instructions::call::resolved_call::prepare_request_params: 1.07ms - instructions::call::resolved_call::serde_json::to_string(tetraplets): 54.00µs - resolver::resolve::resolve_ast_variable: 657.00µs - resolve_variable: 210.00µs - resolver::resolve::resolve_ast_variable: 1.53ms - resolve_variable: 482.00µs - new: 68.98ms - resolve_ast_scalar: 51.42ms - resolve_ast_variable: 31.75ms - resolve_variable: 10.31ms - long_data (547.50ms): Long data trace - air::runner::execute_air: 547.50ms - farewell_step::outcome::from_success_result: 33.98ms - populate_outcome_from_contexts: 33.84ms - to_vec(call_results): 37.00µs - to_vec(data): 32.87ms - preparation_step::preparation::prepare: 513.30ms - air::preparation_step::preparation::make_exec_ctx: 128.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 512.80ms - air_parser::parser::air_parser::parse: 112.00µs - runner::execute: 27.00µs - network_explore (11.61ms): 5 peers of network are discovered - air::runner::execute_air: 11.61ms - farewell_step::outcome::from_success_result: 409.00µs - populate_outcome_from_contexts: 332.00µs - to_vec(call_results): 30.00µs - to_vec(data): 124.00µs - preparation_step::preparation::prepare: 1.15ms - air::preparation_step::preparation::make_exec_ctx: 109.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 408.00µs - air_parser::parser::air_parser::parse: 382.00µs - runner::execute: 9.75ms - execute: 8.51ms - execute: 1.50ms - resolve_ast_variable: 563.00µs - resolve_variable: 185.00µs - new: 4.95ms - resolve_ast_scalar: 3.64ms - resolve_ast_variable: 2.27ms - resolve_variable: 739.00µs - parser_10000_100 (2.26s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 2.26s - farewell_step::outcome::from_success_result: 358.00µs - populate_outcome_from_contexts: 278.00µs - to_vec(call_results): 30.00µs - to_vec(data): 88.00µs - preparation_step::preparation::prepare: 2.25s - air::preparation_step::preparation::make_exec_ctx: 81.00µs - air_parser::parser::air_parser::parse: 2.25s - runner::execute: 394.00µs - execute: 260.00µs - execute: 50.00µs - new: 64.00µs + big_values_data (14.17ms): Loading a trace with huge values + air::runner::execute_air: 14.17ms + farewell_step::outcome::from_success_result: 6.08ms + populate_outcome_from_contexts: 6.00ms + to_vec(call_results): 17.00µs + to_vec(data): 4.95ms + preparation_step::preparation::prepare: 7.87ms + air::preparation_step::preparation::make_exec_ctx: 40.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 7.61ms + air_parser::parser::air_parser::parse: 66.00µs + runner::execute: 18.00µs + dashboard (89.32ms): big dashboard test + air::runner::execute_air: 89.32ms + farewell_step::outcome::from_success_result: 469.00µs + populate_outcome_from_contexts: 415.00µs + to_vec(call_results): 33.00µs + to_vec(data): 215.00µs + preparation_step::preparation::prepare: 1.06ms + air::preparation_step::preparation::make_exec_ctx: 56.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 589.00µs + air_parser::parser::air_parser::parse: 233.00µs + runner::execute: 87.58ms + execute: 78.38ms + execute: 7.91ms + instructions::call::resolved_call::prepare_request_params: 678.00µs + instructions::call::resolved_call::serde_json::to_string(tetraplets): 36.00µs + resolver::resolve::resolve_ast_variable: 416.00µs + resolve_variable: 131.00µs + resolver::resolve::resolve_ast_variable: 1.09ms + resolve_variable: 362.00µs + new: 50.99ms + resolve_ast_scalar: 37.72ms + resolve_ast_variable: 23.15ms + resolve_variable: 7.40ms + long_data (4.44ms): Long data trace + air::runner::execute_air: 4.44ms + farewell_step::outcome::from_success_result: 1.32ms + populate_outcome_from_contexts: 1.24ms + to_vec(call_results): 23.00µs + to_vec(data): 672.00µs + preparation_step::preparation::prepare: 2.88ms + air::preparation_step::preparation::make_exec_ctx: 64.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 2.59ms + air_parser::parser::air_parser::parse: 63.00µs + runner::execute: 22.00µs + network_explore (8.09ms): 5 peers of network are discovered + air::runner::execute_air: 8.09ms + farewell_step::outcome::from_success_result: 256.00µs + populate_outcome_from_contexts: 198.00µs + to_vec(call_results): 21.00µs + to_vec(data): 62.00µs + preparation_step::preparation::prepare: 661.00µs + air::preparation_step::preparation::make_exec_ctx: 60.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 244.00µs + air_parser::parser::air_parser::parse: 174.00µs + runner::execute: 6.94ms + execute: 6.12ms + execute: 1.02ms + resolve_ast_variable: 393.00µs + resolve_variable: 124.00µs + new: 3.57ms + resolve_ast_scalar: 2.61ms + resolve_ast_variable: 1.60ms + resolve_variable: 517.00µs + parser_10000_100 (32.25ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 32.25ms + farewell_step::outcome::from_success_result: 202.00µs + populate_outcome_from_contexts: 152.00µs + to_vec(call_results): 17.00µs + to_vec(data): 45.00µs + preparation_step::preparation::prepare: 29.95ms + air::preparation_step::preparation::make_exec_ctx: 49.00µs + air_parser::parser::air_parser::parse: 29.74ms + runner::execute: 264.00µs + execute: 169.00µs + execute: 29.00µs + new: 40.00µs Machine 05b76e53f793eceba4cb1e947eecaedf581b236317d6c24d5fba40ce9350735f: Platform: Linux-5.10.136-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.36 - Timestamp: 2023-02-14 07:40:29.560900+00:00 + Timestamp: 2023-02-14 07:53:57.703442+00:00 AquaVM version: 0.35.1 Benches: - big_values_data (1.13s): Loading a trace with huge values - air::runner::execute_air: 1.13s - farewell_step::outcome::from_success_result: 95.48ms - populate_outcome_from_contexts: 95.46ms - to_vec(call_results): 15.00µs - to_vec(data): 94.55ms - preparation_step::preparation::prepare: 1.03s - air::preparation_step::preparation::make_exec_ctx: 20.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.03s - air_parser::parser::air_parser::parse: 28.00µs - runner::execute: 10.00µs - dashboard (105.90ms): big dashboard test - air::runner::execute_air: 105.90ms - farewell_step::outcome::from_success_result: 17.93ms - populate_outcome_from_contexts: 17.89ms - to_vec(call_results): 22.00µs - to_vec(data): 17.70ms - preparation_step::preparation::prepare: 17.19ms - air::preparation_step::preparation::make_exec_ctx: 40.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 16.79ms - air_parser::parser::air_parser::parse: 227.00µs - runner::execute: 70.83ms - execute: 63.46ms - execute: 6.61ms - instructions::call::resolved_call::prepare_request_params: 531.00µs - instructions::call::resolved_call::serde_json::to_string(tetraplets): 22.00µs - resolver::resolve::resolve_ast_variable: 342.00µs - resolve_variable: 112.00µs - resolver::resolve::resolve_ast_variable: 890.00µs - resolve_variable: 286.00µs - new: 41.84ms - resolve_ast_scalar: 31.58ms - resolve_ast_variable: 19.96ms - resolve_variable: 6.51ms - long_data (292.00ms): Long data trace - air::runner::execute_air: 292.00ms - farewell_step::outcome::from_success_result: 18.33ms - populate_outcome_from_contexts: 18.30ms - to_vec(call_results): 15.00µs - to_vec(data): 17.75ms - preparation_step::preparation::prepare: 273.50ms - air::preparation_step::preparation::make_exec_ctx: 53.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 273.20ms - air_parser::parser::air_parser::parse: 28.00µs - runner::execute: 10.00µs - network_explore (5.69ms): 5 peers of network are discovered - air::runner::execute_air: 5.69ms - farewell_step::outcome::from_success_result: 164.00µs - populate_outcome_from_contexts: 133.00µs - to_vec(call_results): 13.00µs - to_vec(data): 44.00µs - preparation_step::preparation::prepare: 370.00µs - air::preparation_step::preparation::make_exec_ctx: 28.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 126.00µs - air_parser::parser::air_parser::parse: 122.00µs - runner::execute: 5.08ms - execute: 4.49ms - execute: 766.00µs - resolve_ast_variable: 298.00µs - resolve_variable: 97.00µs - new: 2.66ms - resolve_ast_scalar: 1.99ms - resolve_ast_variable: 1.26ms - resolve_variable: 412.00µs - parser_10000_100 (1.25s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 1.25s - farewell_step::outcome::from_success_result: 127.00µs - populate_outcome_from_contexts: 97.00µs + big_values_data (7.05ms): Loading a trace with huge values + air::runner::execute_air: 7.05ms + farewell_step::outcome::from_success_result: 2.77ms + populate_outcome_from_contexts: 2.74ms + to_vec(call_results): 9.00µs + to_vec(data): 2.21ms + preparation_step::preparation::prepare: 4.21ms + air::preparation_step::preparation::make_exec_ctx: 12.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 4.14ms + air_parser::parser::air_parser::parse: 15.00µs + runner::execute: 6.00µs + dashboard (45.83ms): big dashboard test + air::runner::execute_air: 45.83ms + farewell_step::outcome::from_success_result: 224.00µs + populate_outcome_from_contexts: 200.00µs to_vec(call_results): 13.00µs + to_vec(data): 102.00µs + preparation_step::preparation::prepare: 448.00µs + air::preparation_step::preparation::make_exec_ctx: 19.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 275.00µs + air_parser::parser::air_parser::parse: 95.00µs + runner::execute: 45.09ms + execute: 40.68ms + execute: 4.10ms + instructions::call::resolved_call::prepare_request_params: 337.00µs + instructions::call::resolved_call::serde_json::to_string(tetraplets): 14.00µs + resolver::resolve::resolve_ast_variable: 216.00µs + resolve_variable: 70.00µs + resolver::resolve::resolve_ast_variable: 572.00µs + resolve_variable: 184.00µs + new: 26.91ms + resolve_ast_scalar: 20.17ms + resolve_ast_variable: 12.53ms + resolve_variable: 4.08ms + long_data (2.05ms): Long data trace + air::runner::execute_air: 2.05ms + farewell_step::outcome::from_success_result: 597.00µs + populate_outcome_from_contexts: 573.00µs + to_vec(call_results): 9.00µs + to_vec(data): 300.00µs + preparation_step::preparation::prepare: 1.39ms + air::preparation_step::preparation::make_exec_ctx: 22.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 1.30ms + air_parser::parser::air_parser::parse: 14.00µs + runner::execute: 6.00µs + network_explore (3.52ms): 5 peers of network are discovered + air::runner::execute_air: 3.52ms + farewell_step::outcome::from_success_result: 100.00µs + populate_outcome_from_contexts: 79.00µs + to_vec(call_results): 8.00µs to_vec(data): 25.00µs - preparation_step::preparation::prepare: 1.25s - air::preparation_step::preparation::make_exec_ctx: 23.00µs - air_parser::parser::air_parser::parse: 1.25s - runner::execute: 146.00µs - execute: 101.00µs - execute: 17.00µs - new: 20.00µs + preparation_step::preparation::prepare: 191.00µs + air::preparation_step::preparation::make_exec_ctx: 14.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 70.00µs + air_parser::parser::air_parser::parse: 52.00µs + runner::execute: 3.17ms + execute: 2.83ms + execute: 470.00µs + resolve_ast_variable: 189.00µs + resolve_variable: 61.00µs + new: 1.69ms + resolve_ast_scalar: 1.25ms + resolve_ast_variable: 780.00µs + resolve_variable: 258.00µs + parser_10000_100 (17.82ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 17.82ms + farewell_step::outcome::from_success_result: 77.00µs + populate_outcome_from_contexts: 58.00µs + to_vec(call_results): 8.00µs + to_vec(data): 14.00µs + preparation_step::preparation::prepare: 16.93ms + air::preparation_step::preparation::make_exec_ctx: 12.00µs + air_parser::parser::air_parser::parse: 16.87ms + runner::execute: 95.00µs + execute: 65.00µs + execute: 11.00µs + new: 13.00µs Machine 5fce753d17dde8b439ef04cdbce135789eb44646c753548ad79a37b88cf17f0a: Platform: macOS-12.3.1-arm64-arm-64bit - Timestamp: 2023-02-13 16:42:08.810990+00:00 + Timestamp: 2023-02-13 16:59:20.507375+00:00 AquaVM version: 0.35.1 Benches: - big_values_data (1.19s): Loading a trace with huge values - air::runner::execute_air: 1.19s - farewell_step::outcome::from_success_result: 108.00ms - populate_outcome_from_contexts: 105.00ms - to_vec(call_results): 207.00µs - to_vec(data): 99.50ms - preparation_step::preparation::prepare: 1.07s - air::preparation_step::preparation::make_exec_ctx: 2.83ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.06s - air_parser::parser::air_parser::parse: 3.90ms - runner::execute: 253.00µs - dashboard (192.00ms): big dashboard test - air::runner::execute_air: 192.00ms - farewell_step::outcome::from_success_result: 28.70ms - populate_outcome_from_contexts: 27.40ms - to_vec(call_results): 282.00µs - to_vec(data): 23.60ms - preparation_step::preparation::prepare: 47.90ms - air::preparation_step::preparation::make_exec_ctx: 3.24ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 28.80ms - air_parser::parser::air_parser::parse: 12.10ms - runner::execute: 109.00ms - execute: 90.67ms - execute: 13.72ms - instructions::call::resolved_call::prepare_request_params: 2.25ms - instructions::call::resolved_call::serde_json::to_string(tetraplets): 559.00µs - resolver::resolve::resolve_ast_variable: 419.00µs - resolve_variable: 135.00µs - resolver::resolve::resolve_ast_variable: 1.22ms - resolve_variable: 355.00µs - new: 54.91ms - resolve_ast_scalar: 40.27ms - resolve_ast_variable: 25.33ms - resolve_variable: 8.27ms - long_data (345.00ms): Long data trace - air::runner::execute_air: 345.00ms - farewell_step::outcome::from_success_result: 29.30ms - populate_outcome_from_contexts: 26.80ms - to_vec(call_results): 207.00µs - to_vec(data): 21.70ms - preparation_step::preparation::prepare: 310.00ms - air::preparation_step::preparation::make_exec_ctx: 3.37ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 298.00ms - air_parser::parser::air_parser::parse: 3.90ms - runner::execute: 253.00µs - network_explore (79.40ms): 5 peers of network are discovered - air::runner::execute_air: 79.40ms - farewell_step::outcome::from_success_result: 10.20ms - populate_outcome_from_contexts: 8.94ms - to_vec(call_results): 212.00µs - to_vec(data): 4.56ms - preparation_step::preparation::prepare: 34.00ms - air::preparation_step::preparation::make_exec_ctx: 4.18ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 12.86ms - air_parser::parser::air_parser::parse: 13.10ms - runner::execute: 28.90ms - execute: 15.85ms - execute: 4.90ms - resolve_ast_variable: 380.00µs - resolve_variable: 125.00µs - new: 6.39ms - resolve_ast_scalar: 3.86ms - resolve_ast_variable: 2.74ms - resolve_variable: 849.00µs - parser_10000_100 (1.36s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 1.36s - farewell_step::outcome::from_success_result: 9.49ms - populate_outcome_from_contexts: 7.18ms - to_vec(call_results): 226.00µs - to_vec(data): 3.37ms - preparation_step::preparation::prepare: 1.33s - air::preparation_step::preparation::make_exec_ctx: 2.86ms - air_parser::parser::air_parser::parse: 1.32s - runner::execute: 7.38ms - execute: 4.63ms - execute: 953.00µs - new: 1.26ms + big_values_data (31.97ms): Loading a trace with huge values + air::runner::execute_air: 31.97ms + farewell_step::outcome::from_success_result: 10.56ms + populate_outcome_from_contexts: 8.69ms + to_vec(call_results): 108.00µs + to_vec(data): 5.66ms + preparation_step::preparation::prepare: 17.47ms + air::preparation_step::preparation::make_exec_ctx: 1.40ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 10.68ms + air_parser::parser::air_parser::parse: 1.86ms + runner::execute: 126.00µs + dashboard (103.60ms): big dashboard test + air::runner::execute_air: 103.60ms + farewell_step::outcome::from_success_result: 4.71ms + populate_outcome_from_contexts: 3.70ms + to_vec(call_results): 162.00µs + to_vec(data): 1.87ms + preparation_step::preparation::prepare: 16.17ms + air::preparation_step::preparation::make_exec_ctx: 1.61ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 5.50ms + air_parser::parser::air_parser::parse: 6.11ms + runner::execute: 78.68ms + execute: 66.40ms + execute: 9.37ms + instructions::call::resolved_call::prepare_request_params: 1.43ms + instructions::call::resolved_call::serde_json::to_string(tetraplets): 398.00µs + resolver::resolve::resolve_ast_variable: 335.00µs + resolve_variable: 105.00µs + resolver::resolve::resolve_ast_variable: 946.00µs + resolve_variable: 277.00µs + new: 40.53ms + resolve_ast_scalar: 29.73ms + resolve_ast_variable: 18.24ms + resolve_variable: 5.84ms + long_data (24.35ms): Long data trace + air::runner::execute_air: 24.35ms + farewell_step::outcome::from_success_result: 6.79ms + populate_outcome_from_contexts: 5.07ms + to_vec(call_results): 108.00µs + to_vec(data): 2.23ms + preparation_step::preparation::prepare: 13.54ms + air::preparation_step::preparation::make_exec_ctx: 1.75ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 6.77ms + air_parser::parser::air_parser::parse: 1.84ms + runner::execute: 130.00µs + network_explore (46.01ms): 5 peers of network are discovered + air::runner::execute_air: 46.01ms + farewell_step::outcome::from_success_result: 5.48ms + populate_outcome_from_contexts: 4.50ms + to_vec(call_results): 105.00µs + to_vec(data): 2.25ms + preparation_step::preparation::prepare: 18.74ms + air::preparation_step::preparation::make_exec_ctx: 1.98ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 7.05ms + air_parser::parser::air_parser::parse: 6.74ms + runner::execute: 17.86ms + execute: 9.97ms + execute: 3.17ms + resolve_ast_variable: 339.00µs + resolve_variable: 94.00µs + new: 4.10ms + resolve_ast_scalar: 2.65ms + resolve_ast_variable: 1.67ms + resolve_variable: 547.00µs + parser_10000_100 (48.47ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 48.47ms + farewell_step::outcome::from_success_result: 4.70ms + populate_outcome_from_contexts: 3.48ms + to_vec(call_results): 105.00µs + to_vec(data): 1.60ms + preparation_step::preparation::prepare: 34.34ms + air::preparation_step::preparation::make_exec_ctx: 1.41ms + air_parser::parser::air_parser::parse: 29.66ms + runner::execute: 4.39ms + execute: 2.00ms + execute: 483.00µs + new: 471.00µs Machine 62dabcde478dc58760ebbe71ef6047299144a5f63990c6c3d826ebf30175adfc: Platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.35 - Timestamp: 2023-02-14 09:05:11.643709+00:00 + Timestamp: 2023-02-14 10:33:54.321822+00:00 AquaVM version: 0.35.1 Benches: - big_values_data (1.64s): Loading a trace with huge values - air::runner::execute_air: 1.64s - farewell_step::outcome::from_success_result: 138.40ms - populate_outcome_from_contexts: 138.40ms - to_vec(call_results): 28.00µs - to_vec(data): 137.00ms - preparation_step::preparation::prepare: 1.50s + big_values_data (12.75ms): Loading a trace with huge values + air::runner::execute_air: 12.75ms + farewell_step::outcome::from_success_result: 5.85ms + populate_outcome_from_contexts: 5.78ms + to_vec(call_results): 18.00µs + to_vec(data): 4.51ms + preparation_step::preparation::prepare: 6.78ms + air::preparation_step::preparation::make_exec_ctx: 29.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 6.62ms + air_parser::parser::air_parser::parse: 22.00µs + runner::execute: 11.00µs + dashboard (146.20ms): big dashboard test + air::runner::execute_air: 146.20ms + farewell_step::outcome::from_success_result: 522.00µs + populate_outcome_from_contexts: 441.00µs + to_vec(call_results): 39.00µs + to_vec(data): 212.00µs + preparation_step::preparation::prepare: 697.00µs air::preparation_step::preparation::make_exec_ctx: 27.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.50s - air_parser::parser::air_parser::parse: 36.00µs - runner::execute: 18.00µs - dashboard (233.80ms): big dashboard test - air::runner::execute_air: 233.80ms - farewell_step::outcome::from_success_result: 25.69ms - populate_outcome_from_contexts: 25.59ms - to_vec(call_results): 37.00µs - to_vec(data): 25.25ms - preparation_step::preparation::prepare: 25.75ms - air::preparation_step::preparation::make_exec_ctx: 54.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 25.15ms - air_parser::parser::air_parser::parse: 296.00µs - runner::execute: 182.20ms - execute: 164.65ms - execute: 17.22ms - instructions::call::resolved_call::prepare_request_params: 1.34ms - instructions::call::resolved_call::serde_json::to_string(tetraplets): 53.00µs - resolver::resolve::resolve_ast_variable: 861.00µs - resolve_variable: 273.00µs - resolver::resolve::resolve_ast_variable: 2.21ms - resolve_variable: 698.00µs - new: 106.08ms - resolve_ast_scalar: 77.35ms - resolve_ast_variable: 46.96ms - resolve_variable: 15.04ms - long_data (428.30ms): Long data trace - air::runner::execute_air: 428.30ms - farewell_step::outcome::from_success_result: 26.94ms - populate_outcome_from_contexts: 26.87ms - to_vec(call_results): 34.00µs - to_vec(data): 26.04ms - preparation_step::preparation::prepare: 401.20ms - air::preparation_step::preparation::make_exec_ctx: 67.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 400.80ms - air_parser::parser::air_parser::parse: 38.00µs - runner::execute: 19.00µs - network_explore (14.09ms): 5 peers of network are discovered - air::runner::execute_air: 14.09ms - farewell_step::outcome::from_success_result: 379.00µs - populate_outcome_from_contexts: 292.00µs - to_vec(call_results): 37.00µs - to_vec(data): 81.00µs - preparation_step::preparation::prepare: 537.00µs - air::preparation_step::preparation::make_exec_ctx: 36.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 162.00µs - air_parser::parser::air_parser::parse: 144.00µs - runner::execute: 13.03ms - execute: 11.71ms - execute: 1.97ms - resolve_ast_variable: 759.00µs - resolve_variable: 244.00µs - new: 6.86ms - resolve_ast_scalar: 4.97ms - resolve_ast_variable: 3.01ms - resolve_variable: 960.00µs - parser_10000_100 (1.84s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 1.84s - farewell_step::outcome::from_success_result: 262.00µs - populate_outcome_from_contexts: 189.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 402.00µs + air_parser::parser::air_parser::parse: 121.00µs + runner::execute: 145.10ms + execute: 131.22ms + execute: 13.68ms + instructions::call::resolved_call::prepare_request_params: 959.00µs + instructions::call::resolved_call::serde_json::to_string(tetraplets): 41.00µs + resolver::resolve::resolve_ast_variable: 610.00µs + resolve_variable: 199.00µs + resolver::resolve::resolve_ast_variable: 1.75ms + resolve_variable: 555.00µs + new: 83.94ms + resolve_ast_scalar: 60.95ms + resolve_ast_variable: 36.93ms + resolve_variable: 11.76ms + long_data (3.41ms): Long data trace + air::runner::execute_air: 3.41ms + farewell_step::outcome::from_success_result: 1.07ms + populate_outcome_from_contexts: 1.00ms + to_vec(call_results): 20.00µs + to_vec(data): 540.00µs + preparation_step::preparation::prepare: 2.21ms + air::preparation_step::preparation::make_exec_ctx: 50.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 2.03ms + air_parser::parser::air_parser::parse: 21.00µs + runner::execute: 10.00µs + network_explore (11.17ms): 5 peers of network are discovered + air::runner::execute_air: 11.17ms + farewell_step::outcome::from_success_result: 306.00µs + populate_outcome_from_contexts: 228.00µs + to_vec(call_results): 32.00µs + to_vec(data): 62.00µs + preparation_step::preparation::prepare: 345.00µs + air::preparation_step::preparation::make_exec_ctx: 22.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 102.00µs + air_parser::parser::air_parser::parse: 74.00µs + runner::execute: 10.35ms + execute: 9.32ms + execute: 1.55ms + resolve_ast_variable: 592.00µs + resolve_variable: 189.00µs + new: 5.43ms + resolve_ast_scalar: 3.93ms + resolve_ast_variable: 2.38ms + resolve_variable: 766.00µs + parser_10000_100 (26.83ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 26.83ms + farewell_step::outcome::from_success_result: 205.00µs + populate_outcome_from_contexts: 149.00µs to_vec(call_results): 28.00µs - to_vec(data): 45.00µs - preparation_step::preparation::prepare: 1.84s - air::preparation_step::preparation::make_exec_ctx: 33.00µs - air_parser::parser::air_parser::parse: 1.84s - runner::execute: 275.00µs - execute: 198.00µs - execute: 32.00µs - new: 33.00µs + to_vec(data): 33.00µs + preparation_step::preparation::prepare: 24.70ms + air::preparation_step::preparation::make_exec_ctx: 26.00µs + air_parser::parser::air_parser::parse: 24.55ms + runner::execute: 270.00µs + execute: 197.00µs + execute: 42.00µs + new: 42.00µs Machine c1f3ea5950db0a10b44da931c25774d64ab25084f47d504f72f311e694550ff1: Platform: macOS-12.0.1-x86_64-i386-64bit - Timestamp: 2023-02-13 12:24:06.147422+00:00 + Timestamp: 2023-02-13 13:19:34.106863+00:00 AquaVM version: 0.35.1 Benches: - big_values_data (2.04s): Loading a trace with huge values - air::runner::execute_air: 2.04s - farewell_step::outcome::from_success_result: 172.30ms - populate_outcome_from_contexts: 172.20ms - to_vec(call_results): 37.00µs - to_vec(data): 170.30ms - preparation_step::preparation::prepare: 1.87s - air::preparation_step::preparation::make_exec_ctx: 73.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.87s - air_parser::parser::air_parser::parse: 98.00µs - runner::execute: 24.00µs - dashboard (188.20ms): big dashboard test - air::runner::execute_air: 188.20ms - farewell_step::outcome::from_success_result: 29.39ms - populate_outcome_from_contexts: 29.33ms - to_vec(call_results): 49.00µs - to_vec(data): 28.96ms - preparation_step::preparation::prepare: 31.34ms - air::preparation_step::preparation::make_exec_ctx: 102.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 30.46ms - air_parser::parser::air_parser::parse: 520.00µs - runner::execute: 127.20ms - execute: 113.82ms - execute: 11.77ms - instructions::call::resolved_call::prepare_request_params: 1.04ms - instructions::call::resolved_call::serde_json::to_string(tetraplets): 60.00µs - resolver::resolve::resolve_ast_variable: 628.00µs - resolve_variable: 204.00µs - resolver::resolve::resolve_ast_variable: 1.55ms - resolve_variable: 496.00µs - new: 74.44ms - resolve_ast_scalar: 55.54ms - resolve_ast_variable: 34.35ms - resolve_variable: 11.08ms - long_data (530.20ms): Long data trace - air::runner::execute_air: 530.20ms - farewell_step::outcome::from_success_result: 32.42ms - populate_outcome_from_contexts: 32.30ms + big_values_data (16.56ms): Loading a trace with huge values + air::runner::execute_air: 16.56ms + farewell_step::outcome::from_success_result: 7.35ms + populate_outcome_from_contexts: 7.27ms + to_vec(call_results): 22.00µs + to_vec(data): 5.96ms + preparation_step::preparation::prepare: 8.97ms + air::preparation_step::preparation::make_exec_ctx: 46.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 8.65ms + air_parser::parser::air_parser::parse: 78.00µs + runner::execute: 19.00µs + dashboard (105.40ms): big dashboard test + air::runner::execute_air: 105.40ms + farewell_step::outcome::from_success_result: 549.00µs + populate_outcome_from_contexts: 488.00µs to_vec(call_results): 43.00µs - to_vec(data): 31.36ms - preparation_step::preparation::prepare: 497.40ms - air::preparation_step::preparation::make_exec_ctx: 124.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 497.10ms - air_parser::parser::air_parser::parse: 116.00µs - runner::execute: 27.00µs - network_explore (12.58ms): 5 peers of network are discovered - air::runner::execute_air: 12.58ms - farewell_step::outcome::from_success_result: 437.00µs - populate_outcome_from_contexts: 347.00µs - to_vec(call_results): 31.00µs - to_vec(data): 128.00µs - preparation_step::preparation::prepare: 1.23ms - air::preparation_step::preparation::make_exec_ctx: 113.00µs - air_interpreter_data::interpreter_data::serde_json::from_slice: 458.00µs - air_parser::parser::air_parser::parse: 388.00µs - runner::execute: 10.61ms - execute: 9.26ms - execute: 1.67ms - resolve_ast_variable: 640.00µs - resolve_variable: 223.00µs - new: 5.36ms - resolve_ast_scalar: 3.96ms - resolve_ast_variable: 2.43ms - resolve_variable: 786.00µs - parser_10000_100 (2.30s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 2.30s - farewell_step::outcome::from_success_result: 367.00µs - populate_outcome_from_contexts: 286.00µs - to_vec(call_results): 29.00µs - to_vec(data): 88.00µs - preparation_step::preparation::prepare: 2.30s - air::preparation_step::preparation::make_exec_ctx: 82.00µs - air_parser::parser::air_parser::parse: 2.30s - runner::execute: 407.00µs - execute: 274.00µs - execute: 50.00µs - new: 62.00µs + to_vec(data): 234.00µs + preparation_step::preparation::prepare: 1.31ms + air::preparation_step::preparation::make_exec_ctx: 64.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 737.00µs + air_parser::parser::air_parser::parse: 276.00µs + runner::execute: 103.00ms + execute: 92.47ms + execute: 9.52ms + instructions::call::resolved_call::prepare_request_params: 799.00µs + instructions::call::resolved_call::serde_json::to_string(tetraplets): 51.00µs + resolver::resolve::resolve_ast_variable: 460.00µs + resolve_variable: 145.00µs + resolver::resolve::resolve_ast_variable: 1.42ms + resolve_variable: 477.00µs + new: 59.93ms + resolve_ast_scalar: 44.46ms + resolve_ast_variable: 27.31ms + resolve_variable: 8.72ms + long_data (4.47ms): Long data trace + air::runner::execute_air: 4.47ms + farewell_step::outcome::from_success_result: 1.38ms + populate_outcome_from_contexts: 1.27ms + to_vec(call_results): 20.00µs + to_vec(data): 652.00µs + preparation_step::preparation::prepare: 2.82ms + air::preparation_step::preparation::make_exec_ctx: 64.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 2.53ms + air_parser::parser::air_parser::parse: 63.00µs + runner::execute: 25.00µs + network_explore (9.70ms): 5 peers of network are discovered + air::runner::execute_air: 9.70ms + farewell_step::outcome::from_success_result: 291.00µs + populate_outcome_from_contexts: 230.00µs + to_vec(call_results): 26.00µs + to_vec(data): 79.00µs + preparation_step::preparation::prepare: 847.00µs + air::preparation_step::preparation::make_exec_ctx: 64.00µs + air_interpreter_data::interpreter_data::serde_json::from_slice: 315.00µs + air_parser::parser::air_parser::parse: 206.00µs + runner::execute: 8.29ms + execute: 7.28ms + execute: 1.28ms + resolve_ast_variable: 497.00µs + resolve_variable: 155.00µs + new: 4.24ms + resolve_ast_scalar: 2.99ms + resolve_ast_variable: 1.81ms + resolve_variable: 569.00µs + parser_10000_100 (33.06ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 33.06ms + farewell_step::outcome::from_success_result: 207.00µs + populate_outcome_from_contexts: 158.00µs + to_vec(call_results): 18.00µs + to_vec(data): 47.00µs + preparation_step::preparation::prepare: 30.52ms + air::preparation_step::preparation::make_exec_ctx: 63.00µs + air_parser::parser::air_parser::parse: 30.28ms + runner::execute: 270.00µs + execute: 167.00µs + execute: 29.00µs + new: 38.00µs Machine d77ebe8481884bc3b2778c8083f1bf459e548e929edd87041beb14f6b868d35f: Platform: macOS-13.1-arm64-arm-64bit - Timestamp: 2023-02-03 12:08:43.454860+00:00 - AquaVM version: 0.35.0 + Timestamp: 2023-02-14 11:51:40.780024+00:00 + AquaVM version: 0.35.1 Benches: - big_values_data (1.20s): Loading a trace with huge values - air::runner::execute_air: 1.20s - farewell_step::outcome::from_success_result: 104.61ms - populate_outcome_from_contexts: 102.47ms - to_vec(call_results): 142.00µs - to_vec(data): 96.71ms - preparation_step::preparation::prepare: 1.09s - air::preparation_step::preparation::make_exec_ctx: 2.79ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 1.07s - air_parser::parser::air_parser::parse: 3.66ms - runner::execute: 262.00µs - dashboard (187.90ms): big dashboard test - air::runner::execute_air: 187.90ms - farewell_step::outcome::from_success_result: 25.78ms - populate_outcome_from_contexts: 24.63ms - to_vec(call_results): 453.00µs - to_vec(data): 20.87ms - preparation_step::preparation::prepare: 46.88ms - air::preparation_step::preparation::make_exec_ctx: 3.15ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 26.69ms - air_parser::parser::air_parser::parse: 12.49ms - runner::execute: 109.00ms - execute: 90.78ms - execute: 14.54ms - instructions::call::resolved_call::prepare_request_params: 2.61ms - instructions::call::resolved_call::serde_json::to_string(tetraplets): 621.00µs - resolver::resolve::resolve_ast_variable: 430.00µs - resolve_variable: 140.00µs - resolver::resolve::resolve_ast_variable: 1.31ms - resolve_variable: 355.00µs - new: 54.94ms - resolve_ast_scalar: 40.19ms - resolve_ast_variable: 25.15ms - resolve_variable: 8.23ms - long_data (344.40ms): Long data trace - air::runner::execute_air: 344.40ms - farewell_step::outcome::from_success_result: 29.24ms - populate_outcome_from_contexts: 27.04ms - to_vec(call_results): 142.00µs - to_vec(data): 22.00ms - preparation_step::preparation::prepare: 308.90ms - air::preparation_step::preparation::make_exec_ctx: 3.27ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 297.10ms - air_parser::parser::air_parser::parse: 3.65ms - runner::execute: 261.00µs - network_explore (80.18ms): N peers of network are discovered - air::runner::execute_air: 80.18ms - farewell_step::outcome::from_success_result: 10.68ms - populate_outcome_from_contexts: 9.30ms - to_vec(call_results): 138.00µs - to_vec(data): 4.76ms - preparation_step::preparation::prepare: 34.07ms - air::preparation_step::preparation::make_exec_ctx: 4.15ms - air_interpreter_data::interpreter_data::serde_json::from_slice: 11.86ms - air_parser::parser::air_parser::parse: 13.67ms - runner::execute: 29.04ms - execute: 15.34ms - execute: 5.12ms - resolve_ast_variable: 392.00µs - resolve_variable: 126.00µs - new: 6.34ms - resolve_ast_scalar: 3.88ms - resolve_ast_variable: 2.67ms - resolve_variable: 907.00µs - parser_10000_100 (1.34s): Running very long AIR script with lot of variables and assignments - air::runner::execute_air: 1.34s - farewell_step::outcome::from_success_result: 7.32ms - populate_outcome_from_contexts: 6.24ms - to_vec(call_results): 139.00µs - to_vec(data): 2.89ms - preparation_step::preparation::prepare: 1.31s - air::preparation_step::preparation::make_exec_ctx: 2.82ms - air_parser::parser::air_parser::parse: 1.31s - runner::execute: 7.53ms - execute: 4.54ms - execute: 619.00µs - new: 1.27ms + big_values_data (31.11ms): Loading a trace with huge values + air::runner::execute_air: 31.11ms + farewell_step::outcome::from_success_result: 9.24ms + populate_outcome_from_contexts: 7.66ms + to_vec(call_results): 95.00µs + to_vec(data): 4.74ms + preparation_step::preparation::prepare: 17.66ms + air::preparation_step::preparation::make_exec_ctx: 1.42ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 11.20ms + air_parser::parser::air_parser::parse: 1.73ms + runner::execute: 126.00µs + dashboard (103.30ms): big dashboard test + air::runner::execute_air: 103.30ms + farewell_step::outcome::from_success_result: 4.26ms + populate_outcome_from_contexts: 3.49ms + to_vec(call_results): 127.00µs + to_vec(data): 1.73ms + preparation_step::preparation::prepare: 16.36ms + air::preparation_step::preparation::make_exec_ctx: 1.63ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 5.79ms + air_parser::parser::air_parser::parse: 5.98ms + runner::execute: 78.79ms + execute: 66.87ms + execute: 9.53ms + instructions::call::resolved_call::prepare_request_params: 1.49ms + instructions::call::resolved_call::serde_json::to_string(tetraplets): 326.00µs + resolver::resolve::resolve_ast_variable: 316.00µs + resolve_variable: 100.00µs + resolver::resolve::resolve_ast_variable: 922.00µs + resolve_variable: 264.00µs + new: 41.00ms + resolve_ast_scalar: 29.92ms + resolve_ast_variable: 18.44ms + resolve_variable: 5.83ms + long_data (24.19ms): Long data trace + air::runner::execute_air: 24.19ms + farewell_step::outcome::from_success_result: 6.36ms + populate_outcome_from_contexts: 4.77ms + to_vec(call_results): 98.00µs + to_vec(data): 2.14ms + preparation_step::preparation::prepare: 13.75ms + air::preparation_step::preparation::make_exec_ctx: 1.73ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 7.07ms + air_parser::parser::air_parser::parse: 1.73ms + runner::execute: 127.00µs + network_explore (45.66ms): 5 peers of network are discovered + air::runner::execute_air: 45.66ms + farewell_step::outcome::from_success_result: 4.96ms + populate_outcome_from_contexts: 4.20ms + to_vec(call_results): 94.00µs + to_vec(data): 2.09ms + preparation_step::preparation::prepare: 19.04ms + air::preparation_step::preparation::make_exec_ctx: 2.10ms + air_interpreter_data::interpreter_data::serde_json::from_slice: 7.41ms + air_parser::parser::air_parser::parse: 6.61ms + runner::execute: 17.54ms + execute: 10.17ms + execute: 3.47ms + resolve_ast_variable: 544.00µs + resolve_variable: 96.00µs + new: 4.49ms + resolve_ast_scalar: 2.94ms + resolve_ast_variable: 1.76ms + resolve_variable: 537.00µs + parser_10000_100 (46.91ms): Running very long AIR script with lot of variables and assignments + air::runner::execute_air: 46.91ms + farewell_step::outcome::from_success_result: 4.02ms + populate_outcome_from_contexts: 3.32ms + to_vec(call_results): 97.00µs + to_vec(data): 1.50ms + preparation_step::preparation::prepare: 33.50ms + air::preparation_step::preparation::make_exec_ctx: 1.45ms + air_parser::parser::air_parser::parse: 28.97ms + runner::execute: 4.27ms + execute: 2.07ms + execute: 431.00µs + new: 475.00µs diff --git a/crates/air-lib/interpreter-interface/Cargo.toml b/crates/air-lib/interpreter-interface/Cargo.toml index ef109e5b..e59b34dc 100644 --- a/crates/air-lib/interpreter-interface/Cargo.toml +++ b/crates/air-lib/interpreter-interface/Cargo.toml @@ -16,7 +16,7 @@ path = "src/lib.rs" [dependencies] marine-rs-sdk = { version = "0.7.1", optional = true } -fluence-it-types = { version = "0.3.2", optional = true } +fluence-it-types = { version = "0.4.0", optional = true } serde = "1.0.155" serde_json = "1.0.94" diff --git a/tools/wasm/air-beautify-wasm/Cargo.toml b/tools/wasm/air-beautify-wasm/Cargo.toml index b2367a9f..f6f023e9 100644 --- a/tools/wasm/air-beautify-wasm/Cargo.toml +++ b/tools/wasm/air-beautify-wasm/Cargo.toml @@ -13,5 +13,5 @@ crate-type = ["cdylib", "rlib"] [dependencies] # 0.2.79: a function can return Result<..., JsError>. -wasm-bindgen = { version = "=0.2.82", features = ["serde-serialize"] } +wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] } air-beautifier = { version = "0.1.2", path = "../../../crates/beautifier" }