commit b480e7fc9c60caf9fc4ec7d8c80cba911488f0cc
parent 3e33d1eba65d778bbfc4a3a0ac3250302d6d40b5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 3 Oct 2019 19:00:50 +0200
tweaks: remove some timing code that has served its purpose
Diffstat:
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -2329,18 +2329,8 @@ int main(int argc, char **argv)
#ifdef ENABLE_SPELLER
alt_speller = NULL;
#endif
-
-//#define TIMEIT 12
-#ifdef TIMEIT
-#include <time.h>
- clock_t start = clock();
-#endif
/* Now process the system's and the user's nanorc file, if any. */
do_rcfiles();
-#ifdef TIMEIT
- fprintf(stderr, "Took: %.3f\n",
- (double)(clock() - start) / CLOCKS_PER_SEC);
-#endif
/* If the backed-up command-line options have a value, restore them. */
#ifdef ENABLED_WRAPORJUSTIFY