Skip to content

Commit

Permalink
fix: benchmark table
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcn committed Apr 22, 2020
1 parent c8e3e34 commit 39f3408
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cpf-wasm"
version = "0.2.3"
version = "0.2.4"
authors = ["Pedro Nascimento <[email protected]>"]
edition = "2018"

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ The libs we benchmarked against were:

The results obtained show that `cpf-wasm` is at least 1.53 X faster than other libs performing the same task

| lib | time | ratio |
|:_____________|:__________:|:________:|
| **cpf-wasm** | **9.23s** | **1.00** |
| cpf | 19.02s | 2.06 |
| @fnando/cpf | 14.10s | 1.53 |
| lib | time | ratio |
|:-------------|:----------:|:--------:|
| **cpf-wasm** | **9.23s** | **1.00** |
| cpf | 19.02s | 2.06 |
| @fnando/cpf | 14.10s | 1.53 |
| cpf-check | 20.33s | 2.20 |

benchmark code can be found at the `benchmark` folder
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "benchmark",
"version": "0.2.2",
"version": "0.2.4",
"description": "cpf-wasm benchmars",
"main": "index.js",
"author": "Pedro Nascimento",
Expand Down

0 comments on commit 39f3408

Please sign in to comment.