Skip to content

Commit

Permalink
WIP: Note slowdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Jul 5, 2024
1 parent 9c98d9e commit fc31091
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions features/support/simplecov_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit fc31091

Please sign in to comment.