Skip to content

Commit

Permalink
add comparison description
Browse files Browse the repository at this point in the history
  • Loading branch information
axules committed Aug 25, 2018
1 parent 65580c5 commit 290746c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
13 changes: 11 additions & 2 deletions ImmutableComparison.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
https://github.com/axules/deep-mutation/tree/master/ImmutableComparison

# Performance comparison
https://codesandbox.io/s/km3w4jowo5
**Sandbox editor**: https://codesandbox.io/s/km3w4jowo5

**Sandbox view**: https://km3w4jowo5.codesandbox.io/

![deep-mutation vs immutable performance](https://raw.githubusercontent.com/axules/deep-mutation/master/ImmutableComparison/performanceResult.png)


# Syntax comparison
https://codesandbox.io/s/j4wkq2znj5
**Sandbox editor**: https://codesandbox.io/s/j4wkq2znj5

**Sandbox view**: https://j4wkq2znj5.codesandbox.io/

![deep-mutation vs immutable performance](https://raw.githubusercontent.com/axules/deep-mutation/master/ImmutableComparison/SyntaxComparison.png)
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,22 @@ If key for array item begins from `+` (\`[+${randomNumber}]\`), then value will
```

# Immutable comparison
Read `ImmutableComparison.md`
**Examples**
https://github.com/axules/deep-mutation/tree/master/ImmutableComparison

## Performance comparison
**Sandbox editor**: https://codesandbox.io/s/km3w4jowo5

**Sandbox view**: https://km3w4jowo5.codesandbox.io/

![deep-mutation vs immutable performance](https://raw.githubusercontent.com/axules/deep-mutation/master/ImmutableComparison/performanceResult.png)

## Syntax comparison
**Sandbox editor**: https://codesandbox.io/s/j4wkq2znj5

**Sandbox view**: https://j4wkq2znj5.codesandbox.io/

![deep-mutation vs immutable performance](https://raw.githubusercontent.com/axules/deep-mutation/master/ImmutableComparison/SyntaxComparison.png)

# Tests cases

Expand Down

0 comments on commit 290746c

Please sign in to comment.