Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
misc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
misc
Commits
581f2568
Commit
581f2568
authored
Mar 16, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0aba0aa4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
0 deletions
+67
-0
Makefile
Makefile
+10
-0
go17.txt
go17.txt
+15
-0
go18.txt
go18.txt
+15
-0
gotip.txt
gotip.txt
+25
-0
gov.txt
gov.txt
+2
-0
No files found.
Makefile
View file @
581f2568
...
...
@@ -17,6 +17,16 @@ bench_go : t_syspread_go $(XDAT) t_copy_go
./t_syspread_go
$(XDAT)
>
t_syspread_go.csv
./t_copy_go
>
t_copy_go.csv
N
=
5
bench_gov
:
syspread_test.go
>
go14.txt
;
for
i
in
`
seq
$N
`
;
do
go14
test
-bench
.
$<
>>
go14.txt
;
done
>
go15.txt
;
for
i
in
`
seq
$N
`
;
do
go15
test
-bench
.
$<
>>
go15.txt
;
done
>
go16.txt
;
for
i
in
`
seq
$N
`
;
do
go16
test
-bench
.
$<
>>
go16.txt
;
done
>
go17.txt
;
for
i
in
`
seq
$N
`
;
do
go17
test
-bench
.
$<
>>
go17.txt
;
done
>
go18.txt
;
for
i
in
`
seq
$N
`
;
do
go18
test
-bench
.
$<
>>
go18.txt
;
done
>
gotip.txt
;
for
i
in
`
seq
$N
`
;
do
go
test
-bench
.
$<
>>
gotip.txt
;
done
benchstat go14.txt go15.txt go16.txt go17.txt go18.txt gotip.txt
>
gov.txt
t_syspread_go
:
t_syspread_go.go
go build
$<
...
...
go17.txt
0 → 100644
View file @
581f2568
BenchmarkPread1-4 5000000 274 ns/op
PASS
ok command-line-arguments 1.655s
BenchmarkPread1-4 5000000 273 ns/op
PASS
ok command-line-arguments 1.649s
BenchmarkPread1-4 5000000 271 ns/op
PASS
ok command-line-arguments 1.640s
BenchmarkPread1-4 5000000 271 ns/op
PASS
ok command-line-arguments 1.637s
BenchmarkPread1-4 5000000 270 ns/op
PASS
ok command-line-arguments 1.637s
go18.txt
0 → 100644
View file @
581f2568
BenchmarkPread1-4 5000000 261 ns/op
PASS
ok command-line-arguments 1.581s
BenchmarkPread1-4 5000000 262 ns/op
PASS
ok command-line-arguments 1.585s
BenchmarkPread1-4 5000000 262 ns/op
PASS
ok command-line-arguments 1.583s
BenchmarkPread1-4 5000000 262 ns/op
PASS
ok command-line-arguments 1.583s
BenchmarkPread1-4 5000000 261 ns/op
PASS
ok command-line-arguments 1.580s
gotip.txt
0 → 100644
View file @
581f2568
goos: linux
goarch: amd64
BenchmarkPread1-4 5000000 323 ns/op
PASS
ok command-line-arguments 1.952s
goos: linux
goarch: amd64
BenchmarkPread1-4 5000000 323 ns/op
PASS
ok command-line-arguments 1.953s
goos: linux
goarch: amd64
BenchmarkPread1-4 5000000 322 ns/op
PASS
ok command-line-arguments 1.946s
goos: linux
goarch: amd64
BenchmarkPread1-4 5000000 327 ns/op
PASS
ok command-line-arguments 1.979s
goos: linux
goarch: amd64
BenchmarkPread1-4 5000000 324 ns/op
PASS
ok command-line-arguments 1.957s
gov.txt
0 → 100644
View file @
581f2568
name \ time/op go17.txt go18.txt gotip.txt
Pread1-4 272ns ± 1% 262ns ± 0% 324ns ± 1%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment