summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-27 10:03:42 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-03-27 10:03:42 +0200
commit108be944da53ddec282b65cb4d90d45cbb1dd84d (patch)
treef940458937c70f15b5fd32c8b367323ff7686aa4
parent4eca708d8e693438d4e643dff7283f3cfb79d360 (diff)
downloadkit-108be944da53ddec282b65cb4d90d45cbb1dd84d.zip
delete '
-rw-r--r--'27
1 files changed, 0 insertions, 27 deletions
diff --git a/' b/'
deleted file mode 100644
index 438897f..0000000
--- a/'
+++ /dev/null
@@ -1,27 +0,0 @@
-#define KIT_TEST_FILE foo
-#include "../../kit_test/bench.h"
-
-struct test_foo_ {
- double f;
-};
-
-BENCHMARK("foo") {
- BENCHMARK_REPEAT(800);
-
- BENCHMARK_BEGIN;
- {
- int x = 0;
- struct test_foo_ f = { 0. };
-
- for (int i = 0; i < 100000; i++) {
- x += (1 << 1);
- x ^= i;
- f.f += 0.1;
- }
- DO_NOT_OPTIMIZE(x);
- DO_NOT_OPTIMIZE(f);
- }
- BENCHMARK_END;
-}
-
-BENCHMARK("bar") { }