BSD Ports

devel/rubygem-bullet 8.2.0 FreeBSD

Help to kill N+1 queries and unused eager loading

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
28b39b16c2
License
MIT
Categories
devel, rubygems
Package size
26.5 KiB, 153.0 KiB installed

Description

Bullet is a development tool designed to help increase your application's performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries), when you're using eager loading that isn't necessary and when you should use counter cache.

Best practice is to use Bullet in development mode or custom mode (staging, profile, etc). The last thing you want is your clients getting alerts about how lazy you are.

Key features:

  • Detects N+1 queries automatically
  • Identifies unused eager loading
  • Suggests counter cache usage
  • Multiple notification methods (log, alert, console, etc.)
  • Integration with popular Rails applications

Install

Binary package:

pkg install rubygem-bullet

From the ports tree:

cd /usr/ports/devel/rubygem-bullet/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-bullet>0:devel/rubygem-bullet

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest8.2.08.2.0--8.2.0
FreeBSD:14:quarterly8.2.08.2.0n/a-8.2.0
FreeBSD:15:latest8.2.08.2.0n/a--
FreeBSD:15:quarterly8.2.08.2.0n/an/an/a
FreeBSD:16:latest8.2.08.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 20

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/bullet-8.2.0.gem29184921ed8cde81c939e4eda041345f44f0d0d72c6fbb63aec07d11e5bf653bbe473
Master sites 1
  • RG

Commit history 2

DateCommitCreditsLog message
28b39b16c2 Po-Chuan Hsieh devel/rubygem-bullet: Update to 8.2.0
Changes: https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md
b472efcf92 Po-Chuan Hsieh devel/rubygem-bullet: Update to 8.1.3
Changes: https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md