summaryrefslogtreecommitdiff
path: root/src/bin/perf-test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/perf-test.rs')
-rw-r--r--src/bin/perf-test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/perf-test.rs b/src/bin/perf-test.rs
index 03da160..71044ad 100644
--- a/src/bin/perf-test.rs
+++ b/src/bin/perf-test.rs
@@ -17,7 +17,7 @@ fn main() {
fn normal_state() {
println!("Normal size state file");
let start_time = PreciseTime::now();
- let (settings, state) = match json::read_state_from_file(STATE_PATH) {
+ let (settings, state) = match input::json::read_state_from_file(STATE_PATH) {
Ok(ok) => ok,
Err(error) => {
println!("Error while parsing JSON file: {}", error);
@@ -31,7 +31,7 @@ fn normal_state() {
fn big_state() {
println!("Big state file");
let start_time = PreciseTime::now();
- let (settings, state) = match json::read_state_from_file(STATE_BIG_PATH) {
+ let (settings, state) = match input::json::read_state_from_file(STATE_BIG_PATH) {
Ok(ok) => ok,
Err(error) => {
println!("Error while parsing JSON file: {}", error);