Skip to content

Commit 7dc8cc9

Browse files
committed
Removes the assignments benchmark
1 parent e1fd7ec commit 7dc8cc9

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

README.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,6 @@ Idioms
5656

5757
### General
5858

59-
##### Parallel Assignment vs Sequential Assignment [code](code/general/assignment.rb)
60-
61-
[Read the rationale here](https://github.com/JuanitoFatas/fast-ruby/pull/50#issue-98586885).
62-
63-
```
64-
$ ruby -v code/general/assignment.rb
65-
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
66-
67-
Calculating -------------------------------------
68-
Parallel Assignment 149.201k i/100ms
69-
Sequential Assignment
70-
142.545k i/100ms
71-
-------------------------------------------------
72-
Parallel Assignment 7.687M (± 6.9%) i/s - 38.345M
73-
Sequential Assignment
74-
6.320M (± 8.5%) i/s - 31.360M
75-
76-
Comparison:
77-
Parallel Assignment: 7686954.1 i/s
78-
Sequential Assignment: 6320425.6 i/s - 1.22x slower
79-
```
80-
8159
##### `attr_accessor` vs `getter and setter` [code](code/general/attr-accessor-vs-getter-and-setter.rb)
8260

8361
> https://www.omniref.com/ruby/2.2.0/files/method.h?#annotation=4081781&line=47

code/general/assignment.rb

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)