Skip to content

Commit d38695e

Browse files
committed
fix: Remove GC before test case execution, because it's slow
1 parent c9ab7a4 commit d38695e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/appmap/minitest.rb

-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ class ::Minitest::Test
142142
alias run_without_hook run
143143

144144
def run
145-
GC.start
146145
AppMap::Minitest.begin_test self, name
147146
begin
148147
run_without_hook

lib/appmap/rspec.rb

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def initialize(example)
8787
end
8888

8989
warn "Starting recording of example #{example}@#{source_location}" if AppMap::RSpec::LOG
90-
GC.start
9190
@trace = AppMap.tracing.trace
9291
@webdriver_port = webdriver_port.()
9392
end

0 commit comments

Comments
 (0)