internal: env var to toggle slow benches
This commit is contained in:
parent
a231da9d24
commit
a1f42ef8ad
@ -21,8 +21,7 @@
|
||||
|
||||
#[test]
|
||||
fn integrated_highlighting_benchmark() {
|
||||
// Don't run slow benchmark by default
|
||||
if true {
|
||||
if std::env::var("RUN_SLOW_BENCHES").is_err() {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -76,8 +75,7 @@ fn integrated_highlighting_benchmark() {
|
||||
|
||||
#[test]
|
||||
fn integrated_completion_benchmark() {
|
||||
// Don't run slow benchmark by default
|
||||
if true {
|
||||
if std::env::var("RUN_SLOW_BENCHES").is_err() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user