"heck",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
]
[[package]]
"typenum",
]
-[[package]]
-name = "ctor"
-version = "0.1.26"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
-dependencies = [
- "quote",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "diff"
-version = "0.1.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
-
[[package]]
name = "digest"
version = "0.10.6"
"pandoc",
"pest",
"pest_derive",
- "pretty_assertions",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267"
-[[package]]
-name = "output_vt100"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66"
-dependencies = [
- "winapi",
-]
-
[[package]]
name = "owo-colors"
version = "1.3.0"
"pest_meta",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
]
[[package]]
"plotters-backend",
]
-[[package]]
-name = "pretty_assertions"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755"
-dependencies = [
- "ctor",
- "diff",
- "output_vt100",
- "yansi",
-]
-
[[package]]
name = "proc-macro2"
version = "1.0.57"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
-[[package]]
-name = "syn"
-version = "1.0.109"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
[[package]]
name = "syn"
version = "2.0.16"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
]
[[package]]
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
"wasm-bindgen-shared",
]
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
-
-[[package]]
-name = "yansi"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
use criterion::{black_box, criterion_group, criterion_main, Criterion};
pub fn build_file_benchmark(c: &mut Criterion) {
- let dir = std::path::PathBuf::from("files/site")
+ let dir = std::path::PathBuf::from("files/benchmark_site")
.canonicalize()
.unwrap();
+++ /dev/null
-#{ filetype = 'html' }
-
-${
- var = 'variables'
- inline = 'inline variables'
- bench_variable = 'this is a really long variable that contains multiple lines
- and other interesting features to test how well metaforge deals long variables
- \t this is a list:
- - to
- - see
- - how
- - flexible
- - variables
- - are
- pretty cool!'
-
-}
-
-@{
- single = ['single value arrays']
- bench.footer.array = ['1','2','3','4','5','6','7','8','9','10']
-}
-
-&{
- body = 'bench'
-}
-
-# THIS IS THE BENCHMARK FILE FOR METAFORGE
-
-*it has __${var}* and @{single}__
-
-<p>Some inline html with ${inline}</p>
-
--{comments before a line} ### Other Tests
-
-a bunch of symbols !@#$%^&*())_
-
-code blocks:
-```
-let f = "foo"
-```