Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alepinio committed Apr 3, 2023
1 parent 8b5c1fa commit 18ff1e1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fast-word-wrap",
"version": "1.0.1",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
18 changes: 9 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ outputs

```console

> fast-word-wrap@1.0.0 test /home/ale/dev/fast-word-wrap
> fast-word-wrap@1.1.0 test
> ava --verbose "test/unit.js"


Expand Down Expand Up @@ -111,17 +111,17 @@ outputs in my laptop

```console

> fast-word-wrap@1.0.0 test /home/ale/dev/fast-word-wrap
> ava --verbose "test/benchmark.js"
> fast-word-wrap@1.1.0 test
> ava --verbose test/benchmark.js


✔ wrap faster than others (5.6s)
ℹ Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
✔ wrap faster than others (2.5s)
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
ℹ wrapping 10000 times with each package a fragment of "El inmortal" by Jorge Luis Borges...
ℹ wordwrap took 3432.02 ms
ℹ wrap-text took 1185.77 ms
ℹ word-wrap took 948.94 ms
ℹ fast-word-wrap took 123.29 ms
ℹ wordwrap took 1500.74 ms
ℹ wrap-text took 532.84 ms
ℹ word-wrap took 506.52 ms
ℹ fast-word-wrap took 47.02 ms

1 test passed
Expand Down

0 comments on commit 18ff1e1

Please sign in to comment.