Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit ff9ddaf

Browse files
committed
ベンチマークに関する解説を微修正
1 parent 59103b6 commit ff9ddaf

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,18 @@ and more than 6 times faster than calling it with `callBy`.
4242

4343
You can get the same speed as `reflection` in `Java`.
4444

45-
| | ops/s |Ratio|
46-
|-----------------------|------------:|-----|
47-
| Java Constructor |`104267558.4`|`6.7`|
48-
| FastKFunction(call) |`102948283.4`|`6.6`|
49-
| FastKFunction(callBy) |`105609306.2`|`6.8`|
50-
| KFunction(call) | `77096714.2`|`5.0`|
51-
| KFunction(callBy) | `15519730.2`|`1` |
45+
| | ops/s |Ratio|
46+
|---------------------------|------------:|-----|
47+
| **Java Constructor** |`104267558.4`|`6.7`|
48+
| **FastKFunction(call)** |`102948283.4`|`6.6`|
49+
| **FastKFunction(callBy)** |`105609306.2`|`6.8`|
50+
| **KFunction(call)** | `77096714.2`|`5.0`|
51+
| **KFunction(callBy)** | `15519730.2`|`1` |
5252

5353
![ConstructorBenchmarkResultGraph.png](./pictures/ConstructorBenchmarkResultGraph.png)
5454

55-
*This is the score I got on a `Ryzen7 3700X` in a `Windows 10` environment, with [3b8687](https://github.com/ProjectMapK/FastKFunction/tree/3b8687da712319a49e4f58a38edbb016cc0c41b7) committed.
55+
_This score was measured with `Ryzen7 3700X`, `Windows10`, [3b8687](https://github.com/ProjectMapK/FastKFunction/tree/3b8687da712319a49e4f58a38edbb016cc0c41b7) committed code and benchmark settings._
56+
_It is currently a little faster with small improvements._
5657

5758
### Raw data, and other comparisons
5859
You can get full benchmark score and some other graphs [here](https://docs.google.com/spreadsheets/d/1DJhf8KX1-BAxCGor5cZdlO3626AZbKeet-rkk26XGAE/).
@@ -65,7 +66,7 @@ I have a blog post on the mechanism of fast invocation (in Japanese).
6566

6667
### Benchmarking
6768
You can run the benchmark with the `./gradlew jmh`.
68-
Please note that it will take about 5 hours in total if executed with the default settings.
69+
It takes about 45 minutes to run a complete benchmark.
6970

7071
```bash
7172
./gradlew jmh

0 commit comments

Comments
 (0)