
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.
Akainaa is a gem to visualize code hotspot based on Coverage. This gem can be used for the following purposes:
You can see actual result view from here, which recorded on isucon13 code in one benchmark run on ISUNARABE. And also here is the result of simplecov-html(0.12.3) from same coverage, so you can compare the result.
Install the gem and add to the application's Gemfile by executing:
$ bundle add akainaa
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install akainaa
call Akainaa.start
before your application load, and mount middleware.
Here is example:
require 'akainaa'
Akainaa.start(
project_dir: File.expand_path(__dir__),
ignore_glob_patterns: %w[
config/application.rb
config/initializers/*_initializer.rb
],
)
require_relative 'app'
use Akainaa::Middleware
run App
Boot up application, do something, and access /akainaa
.
It will show Web UI what and how many executed.
Akainaa can emit coverage data which recorded in interval to the file. This feature is intended to be used with vscode-akainaa extension.
Akainaa.start(
project_dir: File.expand_path(__dir__),
ignore_glob_patterns: %w[
config/application.rb
config/initializers/*_initializer.rb
],
online_emit: {
mode: :file,
interval: 1, # seconds
output_path: '/tmp/akainaa.json',
trap_at_exit: true,
},
)
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/riseshia/akainaa.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that akainaa demonstrated a healthy version release cadence and project activity because the last version was released less than 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.