
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
This tool was created to answer the question: How does this version of a library compare to another version of the same library? For a familiar feel for Rubyists, rspec has been as inspiration for how benchmarks are structured and defined.
A simple benchmark project looks something like this. To generate such a project you can execute:
gem install benny
benny init my_benny_project
my_benny_project/
├── benchmarks/
│ ├── bench_helper.rb
│ └── test_bench.rb
├── gemfiles/
│ ├── version-1.gemfile
│ └── version-2.gemfile
└── Gemfile
Dependencies are managed by bundler and therefore a Gemfile is required
source 'https://rubygems.org'
gem 'benny'
Contains files that define environments and benchmarks.
Configures the benchmarks and defines the different environments
A simple configuration configuring two environments to be compared:
Benny.configure do |config|
config.environment 'Version 1' do
gemfile 'gemfiles/version-1.gemfile'
end
config.environment 'Version 2' do
gemfile 'gemfiles/version-2.gemfile'
end
end
All the files ending with the suffix _bench.rb
will be evaluated and added to the benchmark suite.
Benny.define do
benchmark 'Simple calculation' do
700_000.times do
sum = 1+1
end
end
end
The gemfile folder contains the different Gemfiles for version variations. These are referenced from the benchmark/bench_helper.rb file. Aappraisal can be used in combination with Benny for managing the different gemfiles.
TBD
TBD
See CONTRIBUTING.
See LICENSE.
FAQs
Unknown package
We found that benny demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.