README.md in faster_path-0.2.4 vs README.md in faster_path-0.2.5
- old
+ new
@@ -1,11 +1,11 @@
# FasterPath
[![Gem Version](https://badge.fury.io/rb/faster_path.svg)](https://badge.fury.io/rb/faster_path)
[![TravisCI Build Status](https://travis-ci.org/danielpclark/faster_path.svg?branch=master)](https://travis-ci.org/danielpclark/faster_path)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/10ul0gk3cwhlt2lj/branch/master?svg=true)](https://ci.appveyor.com/project/danielpclark/faster-path/branch/master)
[![Latest Tag](https://img.shields.io/github/tag/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/tags)
-[![Commits Since Last Release](https://img.shields.io/github/commits-since/danielpclark/faster_path/v0.2.3.svg)](https://github.com/danielpclark/faster_path/pulse)
+[![Commits Since Last Release](https://img.shields.io/github/commits-since/danielpclark/faster_path/v0.2.5.svg)](https://github.com/danielpclark/faster_path/pulse)
[![Binary Release](https://img.shields.io/github/release/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/releases)
[![Coverage Status](https://coveralls.io/repos/github/danielpclark/faster_path/badge.svg)](https://coveralls.io/github/danielpclark/faster_path)
[![Inline docs](http://inch-ci.org/github/danielpclark/faster_path.svg?branch=master)](http://inch-ci.org/github/danielpclark/faster_path)
[![Code Triagers Badge](https://www.codetriage.com/danielpclark/faster_path/badges/users.svg)](https://www.codetriage.com/danielpclark/faster_path)
[![Tweet This](https://raw.githubusercontent.com/danielpclark/faster_path/master/assets/tweet.png)](https://twitter.com/share?url=https%3A%2F%2Fgithub.com%2Fdanielpclark%2Ffaster_path&via=6ftdan&hashtags=Ruby&text=You%20could%20save%2015%25%20or%20more%20on%20website%20page%20load%20time%20by%20switching%20to%20the%20FasterPath%20gem.)
@@ -134,21 +134,24 @@
## Usage
Current methods implemented:
-|FasterPath Rust Implementation|Ruby 2.3.4 Implementation|Time Shaved Off|
+|FasterPath Rust Implementation|Ruby 2.5.0 Implementation|Time Shaved Off|
|---|---|:---:|
-| `FasterPath.absolute?` | `Pathname#absolute?` | 88.5% |
-| `FasterPath.add_trailing_separator` | `Pathname#add_trailing_separator` | 31.1% |
-| `FasterPath.children` | `Pathname#children` | 14.6% |
-| `FasterPath.chop_basename` | `Pathname#chop_basename` | 56.7% |
-| `FasterPath.cleanpath_aggressive` | `Pathname#cleanpath_aggressive` | 69.8% |
-| `FasterPath.directory?` | `Pathname#directory?` | 12.7% |
-| `FasterPath.entries` | `Pathname#entries` | 7.7% |
-| `FasterPath.has_trailing_separator?` | `Pathname#has_trailing_separator` | 59.2% |
-| `FasterPath.plus` | `Pathname#plus` | 77.9% |
-| `FasterPath.relative?` | `Pathname#relative?` | 83.1% |
+| `FasterPath.absolute?` | `Pathname#absolute?` | 91.9% |
+| `FasterPath.add_trailing_separator` | `Pathname#add_trailing_separator` | 31.2% |
+| `FasterPath.children` | `Pathname#children` | 13.2% |
+| `FasterPath.chop_basename` | `Pathname#chop_basename` | 54.5% |
+| `FasterPath.cleanpath_aggressive` | `Pathname#cleanpath_aggressive` | 73.8% |
+| `FasterPath.cleanpath_conservative` | `Pathname#cleanpath_conservative` | 70.7% |
+| `FasterPath.del_trailing_separator` | `Pathname#del_trailing_separator` | 80.6% |
+| `FasterPath.directory?` | `Pathname#directory?` | 11.3% |
+| `FasterPath.entries` | `Pathname#entries` | 8.4% |
+| `FasterPath.has_trailing_separator?` | `Pathname#has_trailing_separator` | 67.6% |
+| `FasterPath.plus` | `Pathname#join` | 66.4% |
+| `FasterPath.plus` | `Pathname#plus` | 81.4% |
+| `FasterPath.relative?` | `Pathname#relative?` | 84.1% |
You may choose to use the methods directly, or scope change to rewrite behavior on the
standard library with the included refinements, or even call a method to monkeypatch
everything everywhere.