Skip to content

Commit ec0c2b5

Browse files
committed
Comment out perf tools unless become necessary
1 parent 01ce5fd commit ec0c2b5

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

Gemfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,18 @@ gem 'rack-user_agent'
4545
gem 'aws-sdk-s3', '~> 1'
4646

4747
group :development do
48-
gem 'flamegraph', require: false
49-
gem 'memory_profiler', require: false
50-
gem 'rack-mini-profiler', require: false
51-
gem 'stackprof', require: false
5248
gem 'letter_opener_web'
5349
gem 'listen'
5450
gem 'solargraph'
5551
gem 'spring'
5652
gem 'web-console'
53+
54+
# Enable perf tools if needed (YAGNI).
55+
# https://ja.wikipedia.org/wiki/YAGNI
56+
#gem 'flamegraph', require: false
57+
#gem 'memory_profiler', require: false
58+
#gem 'rack-mini-profiler', require: false
59+
#gem 'stackprof', require: false
5760
end
5861

5962
group :development, :test do

Gemfile.lock

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ GEM
180180
ffi (1.17.2-x86_64-darwin)
181181
ffi (1.17.2-x86_64-linux-gnu)
182182
ffi (1.17.2-x86_64-linux-musl)
183-
flamegraph (0.9.5)
184183
font-awesome-rails (4.7.0.9)
185184
railties (>= 3.2, < 9.0)
186185
get_process_mem (1.0.0)
@@ -275,7 +274,6 @@ GEM
275274
marcel (1.0.4)
276275
matrix (0.4.2)
277276
memoist (0.16.2)
278-
memory_profiler (1.1.0)
279277
mini_mime (1.1.5)
280278
minitest (5.25.5)
281279
msgpack (1.8.0)
@@ -336,8 +334,6 @@ GEM
336334
rack (>= 1.0, < 4)
337335
rack-host-redirect (1.3.0)
338336
rack
339-
rack-mini-profiler (3.3.1)
340-
rack (>= 1.2.0)
341337
rack-session (2.1.1)
342338
base64 (>= 0.1.0)
343339
rack (>= 3.0.0)
@@ -500,7 +496,6 @@ GEM
500496
actionpack (>= 6.1)
501497
activesupport (>= 6.1)
502498
sprockets (>= 3.0.0)
503-
stackprof (0.2.27)
504499
stringio (3.1.7)
505500
thor (1.3.2)
506501
tilt (2.6.0)
@@ -553,7 +548,6 @@ DEPENDENCIES
553548
factory_bot_rails
554549
faraday
555550
faraday_middleware
556-
flamegraph
557551
font-awesome-rails
558552
google_drive
559553
jbuilder
@@ -564,13 +558,11 @@ DEPENDENCIES
564558
lazy_high_charts (= 1.5.8)
565559
letter_opener_web
566560
listen
567-
memory_profiler
568561
pg
569562
puma
570563
puma_worker_killer
571564
rack-attack
572565
rack-host-redirect
573-
rack-mini-profiler
574566
rack-user_agent
575567
rails (~> 7.1.5)
576568
rails-controller-testing
@@ -588,7 +580,6 @@ DEPENDENCIES
588580
sitemap_generator
589581
solargraph
590582
spring
591-
stackprof
592583
web-console
593584

594585
RUBY VERSION

0 commit comments

Comments
 (0)