summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-15 12:18:00 -0600
committermo khan <mo.khan@gmail.com>2020-05-15 12:18:00 -0600
commitbf4c221d5924d32a1c3659fa85926832a5a445d1 (patch)
tree43c157730342dc8f11877d4721c13773d2ce5e51
parent81f8960379e2eb05f63275ca3d2caa9986d426cf (diff)
Remove profiler test
-rw-r--r--.github/licensed/bundler/public_suffix.dep.yml2
-rw-r--r--Gemfile.lock2
-rw-r--r--spandx.gemspec1
-rw-r--r--spec/integration/core/cache_spec.rb24
4 files changed, 1 insertions, 28 deletions
diff --git a/.github/licensed/bundler/public_suffix.dep.yml b/.github/licensed/bundler/public_suffix.dep.yml
index 7ca046a..ad61a27 100644
--- a/.github/licensed/bundler/public_suffix.dep.yml
+++ b/.github/licensed/bundler/public_suffix.dep.yml
@@ -1,6 +1,6 @@
---
name: public_suffix
-version: 4.0.3
+version: 4.0.5
type: bundler
summary: Domain name parser based on the Public Suffix List.
homepage: https://simonecarletti.com/code/publicsuffix-ruby
diff --git a/Gemfile.lock b/Gemfile.lock
index c5c4efd..b589574 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -30,7 +30,6 @@ GEM
dotenv (2.7.5)
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
- fastest-csv (0.0.4)
hashdiff (1.0.1)
licensed (2.9.2)
bundler (>= 1.10)
@@ -119,7 +118,6 @@ DEPENDENCIES
benchmark-ips (~> 2.8)
bundler-audit (~> 0.6)
byebug (~> 11.1)
- fastest-csv (~> 0.0)
licensed (~> 2.8)
rake (~> 13.0)
rake-compiler (~> 1.1)
diff --git a/spandx.gemspec b/spandx.gemspec
index 50d21cd..91359dc 100644
--- a/spandx.gemspec
+++ b/spandx.gemspec
@@ -42,7 +42,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'benchmark-ips', '~> 2.8'
spec.add_development_dependency 'bundler-audit', '~> 0.6'
spec.add_development_dependency 'byebug', '~> 11.1'
- spec.add_development_dependency 'fastest-csv', '~> 0.0'
spec.add_development_dependency 'licensed', '~> 2.8'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rake-compiler', '~> 1.1'
diff --git a/spec/integration/core/cache_spec.rb b/spec/integration/core/cache_spec.rb
index 943fd94..bfd821a 100644
--- a/spec/integration/core/cache_spec.rb
+++ b/spec/integration/core/cache_spec.rb
@@ -171,30 +171,6 @@ RSpec.describe Spandx::Core::Cache do
it 'yields each item quickly' do
expect { subject.take(100_000).count }.to perform_under(0.1).sample(10)
end
-
- xit 'profiles each option' do
- require 'fastest-csv'
-
- datafile = Spandx::Core::DataFile.new("#{Dir.home}/.local/share/spandx/rubygems-cache/.index/d9/rubygems")
- Benchmark.ips do |x|
- x.report('fastest-csv') do
- datafile.open_file(mode: 'rb') do |io|
- while (x = io.gets)
- ::CsvParser.parse_line(x)
- end
- end
- end
- x.report('spandx') do
- datafile.open_file(mode: 'rb') do |io|
- while (x = io.gets)
- ::Spandx::Core::CsvParser.parse(x)
- end
- end
- end
-
- x.compare!
- end
- end
end
end
end