Skip to content

Commit f64116d

Browse files
committed
2 parents 89e420b + 1465aa7 commit f64116d

File tree

114 files changed

+15527
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+15527
-67
lines changed

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,18 @@ java -jar EntityFXBench.jar
5353

5454
### JavaScript
5555

56-
Web:
56+
#### Web
5757

5858
http://laseroid.azurewebsites.net/js-bench/
5959

60-
NodeJS: TODO
60+
#### NodeJS
61+
62+
You must have nodejs installed
63+
64+
```sh
65+
cd src/js
66+
node ./node_main.js
67+
```
6168

6269
### PHP
6370

@@ -82,4 +89,20 @@ lua main.lua
8289

8390
## Build
8491

85-
TODO
92+
### Dotnet
93+
```sh
94+
cd src/dotnet
95+
dotnet build EntityFX.NetBenchmark.sln --configuration Release
96+
```
97+
98+
### Go
99+
```sh
100+
cd src/go/entityfx
101+
go build
102+
```
103+
104+
alternatively:
105+
```sh
106+
go get -u github.com/EntityFX/EntityFX-Bench/src/go/entityfx
107+
```
108+
144 KB
Binary file not shown.
64 KB
Binary file not shown.
38.6 KB
Binary file not shown.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"runtimeTarget": {
3+
"name": ".NETCoreApp,Version=v6.0",
4+
"signature": ""
5+
},
6+
"compilationOptions": {},
7+
"targets": {
8+
".NETCoreApp,Version=v6.0": {
9+
"EntityFX.NetBenchmark/1.0.0": {
10+
"dependencies": {
11+
"EntityFX.NetBenchmark.Core": "1.0.0"
12+
},
13+
"runtime": {
14+
"EntityFX.NetBenchmark.dll": {}
15+
}
16+
},
17+
"EntityFX.NetBenchmark.Core/1.0.0": {
18+
"runtime": {
19+
"EntityFX.NetBenchmark.Core.dll": {}
20+
}
21+
}
22+
}
23+
},
24+
"libraries": {
25+
"EntityFX.NetBenchmark/1.0.0": {
26+
"type": "project",
27+
"serviceable": false,
28+
"sha512": ""
29+
},
30+
"EntityFX.NetBenchmark.Core/1.0.0": {
31+
"type": "project",
32+
"serviceable": false,
33+
"sha512": ""
34+
}
35+
}
36+
}
11.5 KB
Binary file not shown.
11.4 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"runtimeOptions": {
3+
"tfm": "net6.0",
4+
"framework": {
5+
"name": "Microsoft.NETCore.App",
6+
"version": "6.0.0"
7+
},
8+
"configProperties": {
9+
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
10+
}
11+
}
12+
}
5.5 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
##########################################
2+
3+
Dhrystone Benchmark, Version 2.1 (Language: C#)
4+
5+
Optimization Optimised
6+
7+
Final values (* implementation-dependent):
8+
9+
10+
Int_Glob: O.K. 5 Bool_Glob: O.K. True
11+
Ch_1_Glob: O.K. A Ch_2_Glob: O.K. B
12+
Arr_1_Glob[8]: O.K. 7 Arr_2_Glob8/7: O.K. 20000010
13+
Ptr_Glob-> Ptr_Comp: * True
14+
Discr: O.K. 0 Enum_Comp: O.K. 2
15+
Int_Comp: O.K. 17 Str_Comp: O.K. DHRYSTONE PROGRAM, SOME STRING
16+
Next_Ptr_Glob-> Ptr_Comp: * True same as above
17+
Discr: O.K. 0 Enum_Comp: O.K. 1
18+
Int_Comp: O.K. 18 Str_Comp: O.K. DHRYSTONE PROGRAM, SOME STRING
19+
Int_1_Loc: O.K. 5 Int_2_Loc: O.K. 13
20+
Int_3_Loc: O.K. 7 Enum_Loc: O.K. 1
21+
Str_1_Loc: O.K. DHRYSTONE PROGRAM, 1'ST STRING
22+
Str_2_Loc: O.K. DHRYSTONE PROGRAM, 2'ND STRING
23+
24+
Nanoseconds one Dhrystone run: 84.8032564450475
25+
Dhrystones per Second: 11792000
26+
VAX MIPS rating = 6711.439954467843
27+

0 commit comments

Comments
 (0)