You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/orchid/resources/pages/faker-comparisons.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ So why use this one instead? I've decided to make a comparison between <strong>k
10
10
11
11
{% info %}
12
12
The benchmarks time is an average execution time of 10 consecutive runs on the system with the following specs:
13
-
<br>
13
+
{% filter compileAs('md') %}
14
14
```text
15
15
OS: Ubuntu 20.04.4 LTS x86_64
16
16
Host: Precision 5530
@@ -20,9 +20,10 @@ GPU: NVIDIA Quadro P2000 Mobile
20
20
GPU: Intel UHD Graphics 630
21
21
Memory: 21277MiB / 31728MiB
22
22
```
23
-
<br>
23
+
{% endfilter %}
24
+
24
25
Each run includes creating a new Faker instance and generating a 1_000_000 values with the function returning a person's full name:
25
-
<br>
26
+
{% filter compileAs('md') %}
26
27
```kotlin
27
28
funmain() {
28
29
List(10) { it }.sumOf {
@@ -33,6 +34,7 @@ fun main() {
33
34
} /10
34
35
}
35
36
```
37
+
{% endfilter %}
36
38
<br>
37
39
<i>Note: benchmarks for `blocoio/faker` could not be done due to unexpected exceptions coming from the lib, benchmarks for `moove-it/fakeit` could not be done due to android dependencies in the lib</i>
0 commit comments