Build a tokio runtime for async benchmarks.
()
| 24 | |
| 25 | /// Build a tokio runtime for async benchmarks. |
| 26 | fn rt() -> tokio::runtime::Runtime { |
| 27 | tokio::runtime::Builder::new_current_thread() |
| 28 | .enable_all() |
| 29 | .build() |
| 30 | .unwrap() |
| 31 | } |
| 32 | |
| 33 | /// Open a file on the backend. |
| 34 | async fn open_file(backend: &Backend, uri_str: &str, content: &str) -> Url { |
no test coverage detected