mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 13:42:24 +03:00
Update benches
This commit is contained in:
parent
98bbcacebb
commit
1adc4d232a
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
namespace: Compile
|
||||||
|
expectation: Pass
|
||||||
|
outputs:
|
||||||
|
- initial_ast: 1a1fd123616593fc3841d10ad59b14232ae5c7e929492e58d845a3f02f13b644
|
||||||
|
unrolled_ast: 1a1fd123616593fc3841d10ad59b14232ae5c7e929492e58d845a3f02f13b644
|
||||||
|
ssa_ast: 6782be9fa0571f0f28ec56c7f8ca239f1aabfaccc8b6b1fa7f562892f03546d3
|
||||||
|
flattened_ast: d7acc63cc04bb1e54071d8ee0121561992b5e6a32ca882717d5cf6fe78fa2171
|
||||||
|
inlined_ast: e20df44648bdb7ac31170d5ac662350a62c7784f600876e767e1aa3eca893cef
|
||||||
|
dce_ast: 072c27aa51995317c624cad273144963cb86bdb10b4119cd833aba20d1159e42
|
||||||
|
bytecode: 4f6fc95016f18abf8a89221cd77b9d718ff44557d55a8387f258779921a97a7d
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
//! This file contains tools for benchmarking the Leo compiler and its stages.
|
//! This file contains tools for benchmarking the Leo compiler and its stages.
|
||||||
|
|
||||||
use leo_compiler::{Compiler, CompilerOptions};
|
use leo_compiler::{BuildOptions, Compiler, CompilerOptions, OutputOptions};
|
||||||
use leo_errors::emitter::{Emitter, Handler};
|
use leo_errors::emitter::{Emitter, Handler};
|
||||||
use leo_span::{source_map::FileName, symbol::SESSION_GLOBALS};
|
use leo_span::{source_map::FileName, symbol::SESSION_GLOBALS};
|
||||||
use leo_test_framework::get_benches;
|
use leo_test_framework::get_benches;
|
||||||
@ -86,15 +86,19 @@ fn new_compiler(handler: &Handler) -> Compiler<'_> {
|
|||||||
PathBuf::from(String::new()),
|
PathBuf::from(String::new()),
|
||||||
PathBuf::from(String::new()),
|
PathBuf::from(String::new()),
|
||||||
Some(CompilerOptions {
|
Some(CompilerOptions {
|
||||||
spans_enabled: false,
|
build: BuildOptions {
|
||||||
dce_enabled: true,
|
dce_enabled: true,
|
||||||
initial_ast: false,
|
},
|
||||||
initial_input_ast: false,
|
output: OutputOptions {
|
||||||
unrolled_ast: false,
|
spans_enabled: false,
|
||||||
ssa_ast: false,
|
initial_ast: false,
|
||||||
flattened_ast: false,
|
initial_input_ast: false,
|
||||||
inlined_ast: false,
|
unrolled_ast: false,
|
||||||
dce_ast: false,
|
ssa_ast: false,
|
||||||
|
flattened_ast: false,
|
||||||
|
inlined_ast: false,
|
||||||
|
dce_ast: false,
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user