Skip to content

Commit

Permalink
Rename the 'noasm' tag to 'purego'
Browse files Browse the repository at this point in the history
This is the convention that the Go ecosystem is standardizing on.

See golang/go#23172.
  • Loading branch information
cespare committed Jan 29, 2018
1 parent e4e2bd4 commit 48099fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Here are some quick benchmarks comparing the pure-Go and assembly
implementations of Sum64 against another popular Go XXH64 implementation,
[github.com/OneOfOne/xxhash](https://github.com/OneOfOne/xxhash):

| input size | OneOfOne | cespare (noasm) | cespare |
| input size | OneOfOne | cespare (purego) | cespare |
| --- | --- | --- | --- |
| 5 B | 416 MB/s | 720 MB/s | 872 MB/s |
| 100 B | 3980 MB/s | 5013 MB/s | 5252 MB/s |
Expand All @@ -40,7 +40,7 @@ These numbers were generated with:

```
$ go test -benchtime 10s -bench '/OneOfOne,'
$ go test -tags noasm -benchtime 10s -bench '/xxhash,'
$ go test -tags purego -benchtime 10s -bench '/xxhash,'
$ go test -benchtime 10s -bench '/xxhash,'
```

Expand Down
2 changes: 1 addition & 1 deletion xxhash_amd64.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build !appengine
// +build gc
// +build !noasm
// +build !purego

package xxhash

Expand Down
2 changes: 1 addition & 1 deletion xxhash_amd64.s
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build !appengine
// +build gc
// +build !noasm
// +build !purego

#include "textflag.h"

Expand Down
2 changes: 1 addition & 1 deletion xxhash_amd64_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build !appengine
// +build gc
// +build !noasm
// +build !purego

package xxhash

Expand Down
2 changes: 1 addition & 1 deletion xxhash_other.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !amd64 appengine !gc noasm
// +build !amd64 appengine !gc purego

package xxhash

Expand Down

0 comments on commit 48099fa

Please sign in to comment.