diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-01-19 12:47:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 12:47:10 +0000 |
commit | a7b54ca8d84e9371244d792c30fc9084579470e1 (patch) | |
tree | 784b74f914bc70c64e1996ffc49e8ebcf01a32c0 /rust/benches/evaluator.rs | |
parent | Update logging_sample_config.md (#14868) (diff) | |
download | synapse-a7b54ca8d84e9371244d792c30fc9084579470e1.tar.xz |
Implement MSC3930: polls push rules (#14787)
Diffstat (limited to 'rust/benches/evaluator.rs')
-rw-r--r-- | rust/benches/evaluator.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rust/benches/evaluator.rs b/rust/benches/evaluator.rs index 442a79348f..8c28bb0af3 100644 --- a/rust/benches/evaluator.rs +++ b/rust/benches/evaluator.rs @@ -150,8 +150,13 @@ fn bench_eval_message(b: &mut Bencher) { ) .unwrap(); - let rules = - FilteredPushRules::py_new(PushRules::new(Vec::new()), Default::default(), false, false); + let rules = FilteredPushRules::py_new( + PushRules::new(Vec::new()), + Default::default(), + false, + false, + false, + ); b.iter(|| eval.run(&rules, Some("bob"), Some("person"))); } |