From fc3109173637302ec012a2cdfb02c646e56f15f4 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 5 Jul 2024 13:29:45 +0200 Subject: [PATCH] WIP: Note slowdown --- features/support/simplecov_setup.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/features/support/simplecov_setup.rb b/features/support/simplecov_setup.rb index 94f90acd..06ed2f42 100644 --- a/features/support/simplecov_setup.rb +++ b/features/support/simplecov_setup.rb @@ -2,6 +2,18 @@ # @note this file is loaded in env.rb to setup simplecov using RUBYOPTs for # child processes and @in-process +# +# Current implementation slows down things immensely: +# +# On main: +# bin/cucumber --format progress 192.97s user 34.46s system 79% cpu 4:47.10 total +# +# On fix-simplecov-integration: with SimpleFormatter +# bin/cucumber --format progress 581.96s user 75.12s system 91% cpu 12:00.38 total +# +# On fix-simplecov-integration: with DumbFormatter +# bin/cucumber --format progress 732.04s user 105.59s system 92% cpu 15:05.49 total +# unless RUBY_PLATFORM.include?("java") require "simplecov" root = File.expand_path("../..", __dir__)