add php5 and php7 benchmark

This commit is contained in:
z7zmey
2018-02-18 14:25:20 +02:00
parent 33bd13c538
commit f107e8bb57
3 changed files with 810 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ run: build
test:
go test ./... --cover
bench:
go test -benchmem -bench=. ./php5
go test -benchmem -bench=. ./php7
compile: ./php5/php5.go ./php7/php7.go ./scanner/scanner.go
rm -f y.output