Skip to content
Merged
6 changes: 6 additions & 0 deletions benchmark/file_dirname.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
prelude: |
# frozen_string_literal: true
benchmark:
long: File.dirname("/Users/george/src/github.com/ruby/ruby/benchmark/file_dirname.yml")
short: File.dirname("foo/bar")
n_4: File.dirname("/Users/george/src/github.com/ruby/ruby/benchmark/file_dirname.yml", 4)
6 changes: 6 additions & 0 deletions benchmark/file_extname.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
prelude: |
# frozen_string_literal: true
benchmark:
long: File.extname("/Users/george/src/github.com/ruby/ruby/benchmark/file_dirname.yml")
long_name: File.extname("Users_george_src_github.com_ruby_ruby_benchmark_file_dirname.yml")
short: File.extname("foo/bar")
1 change: 1 addition & 0 deletions ext/extmk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ def create_makefile(*args, &block)
build_complete = $(TARGET_GEM_DIR)/gem.build_complete
install-so: build_complete
clean-so:: clean-build_complete
$(build_complete) $(OBJS): $(TARGET_SO_DIR_TIMESTAMP)

build_complete: $(build_complete)
$(build_complete): $(TARGET_SO)
Expand Down
Loading