rubystone 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/bin/rubystone +10 -2
- data/rubystone.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99b5d7d450faa810a8ac1c1c44c54dbb8408e10b
|
|
4
|
+
data.tar.gz: 8335e9be046bff037d1142182f072a342714590d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e6b75b011d84efb646797268ee2d3af6e96b9a2b6ee303e137db756b2d4af3940b874a81acdff03fff93a0343ca41d899031d7901755f78ecdb5d6eb94cab2d
|
|
7
|
+
data.tar.gz: eeb35bc2937974914eec9c43fcfd9f316930203993553034e33ea37cbebdf4b3d8d2f7514334c26e7495101d0b86f8e765cff1841d162be82816119bbc4a0c7a
|
data/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
5
|
-
This is the Ruby porting of the Python [PYSTONE](http://hg.python.org/cpython/file/fc4ef17c7db8/Lib/test/pystone.py) script.
|
|
5
|
+
This is the Ruby porting of the Python [PYSTONE](http://hg.python.org/cpython/file/fc4ef17c7db8/Lib/test/pystone.py) script.
|
|
6
|
+
It provides a rough benchmark of the Ruby interpreter via the `rubystone` executable.
|
|
6
7
|
|
|
7
8
|
# Usage
|
|
8
9
|
|
|
@@ -20,7 +21,7 @@ Or clone the project:
|
|
|
20
21
|
git clone https://github.com/mdesantis/rubystone
|
|
21
22
|
```
|
|
22
23
|
|
|
23
|
-
Then use the `rubystone` executable:
|
|
24
|
+
Then use the `rubystone` executable (`bin/rubystone` if you cloned the project):
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
```
|
|
@@ -34,7 +35,7 @@ This machine benchmarks at 79566 warm rubystones/second
|
|
|
34
35
|
|
|
35
36
|
## Version
|
|
36
37
|
|
|
37
|
-
Ruby/1.0 (corresponds to Python/1.1 PYSTONE version)
|
|
38
|
+
Ruby/1.0.2 (corresponds to Python/1.1 PYSTONE version)
|
|
38
39
|
|
|
39
40
|
## Author
|
|
40
41
|
|
|
@@ -56,8 +57,11 @@ platforms with JIT compilation (JRuby, Rubinius).
|
|
|
56
57
|
|
|
57
58
|
## Version History
|
|
58
59
|
|
|
59
|
-
<
|
|
60
|
-
<dt>
|
|
60
|
+
<dl>
|
|
61
|
+
<dt>1.0.2</dt> <dd>Updating of the script comment in order to reflect the README</dd>
|
|
62
|
+
<dt>1.0.1</dt> <dd>Generating new gem</dd>
|
|
63
|
+
<dt>1.0</dt> <dd>Porting of Python/1.1 PYSTONE version</dd>
|
|
64
|
+
</dl>
|
|
61
65
|
|
|
62
66
|
## References
|
|
63
67
|
|
data/bin/rubystone
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# "RUBYSTONE" Benchmark Program
|
|
4
4
|
#
|
|
5
|
-
#
|
|
5
|
+
# Description: This is the Ruby porting of the Python PYSTONE script.
|
|
6
|
+
# It provides a rough benchmark of the Ruby interpreter.
|
|
7
|
+
#
|
|
8
|
+
#
|
|
9
|
+
# Version: Ruby/1.0.2 (corresponds to Python/1.1 PYSTONE version)
|
|
6
10
|
#
|
|
7
11
|
# Author: Reinhold P. Weicker, CACM Vol 27, No 10, 10/84 pg. 1013.
|
|
8
12
|
#
|
|
@@ -20,9 +24,13 @@
|
|
|
20
24
|
#
|
|
21
25
|
# Version History:
|
|
22
26
|
#
|
|
23
|
-
#
|
|
27
|
+
# 1.0.2 Updating of the script comment in order to reflect the README
|
|
28
|
+
# 1.0.1 Generating new gem
|
|
29
|
+
# 1.0 Porting of Python/1.1 PYSTONE version
|
|
24
30
|
#
|
|
25
31
|
# References: PYSTONE 1.1: http://hg.python.org/cpython/file/fc4ef17c7db8/Lib/test/pystone.py
|
|
32
|
+
#
|
|
33
|
+
# License: MIT
|
|
26
34
|
|
|
27
35
|
LOOPS = 50000
|
|
28
36
|
|
data/rubystone.gemspec
CHANGED