scientist

by github · Developer Tools

:microscope: A Ruby library for carefully refactoring critical paths.

New0 ratings7,754 starsActive
Developer ToolsDeveloper ToolRubyShell
↓ Download v1.6.5GitHub⚑ Report
scientist — image 1

About this project

Scientist! A Ruby library for carefully refactoring critical paths. How do I science? Let's pretend you're changing the way you handle permissions in a large web app. Tests can help guide your refactoring, but you really want to compare the current and refactored behaviors under load. Wrap a use block around the code's original behavior, and wrap try around the new behavior. experiment.run will always return whatever the use block returns, but it does a bunch of stuff behind the scenes: It decides whether or not to run the try block, Randomizes the order in which use and try blocks are run, Measures the wall time and cpu time of all behaviors in seconds, Compares the result of…

Technologies

ShellRubyrefactoringrubygem

Project health

Low recent activity
Last update9 months ago
Contributors57
Latest releasev1.6.5
Open issues & PRs15
LicenseMIT
On GitHubsince 2014

GitHub

7,754
stars
504
forks
57
contributors
15
open issues & PRs
Ruby
language
9 months ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review scientist.

Built by

github
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain github/scientist? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like