浏览代码

codec: bench: add easyjson to quick (json) test execution

Ugorji Nwoke 6 年之前
父节点
当前提交
b78f69bc5c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      codec/bench/bench.sh

+ 2 - 2
codec/bench/bench.sh

@@ -130,9 +130,9 @@ _suite_very_quick_json_non_suite() {
     echo ">>>> very quick json bench"
     for j in "En" "De"; do
         echo "---- codecgen ----"
-        go test -run Nothing -tags "alltests codecgen" -bench "__Json____.*${j}" -benchmem "$@"
+        go test -run Nothing -tags "alltests x generated" -bench "__(Json|Easyjson)__.*${j}" -benchmem "$@"
         echo "---- no codecgen ----"
-        go test -run Nothing -tags "alltests x" -bench "__(Json|Std_Json|JsonIter).*${j}" -benchmem "$@"
+        go test -run Nothing -tags "alltests x" -bench "__(Json|Std_Json|JsonIter)__.*${j}" -benchmem "$@"
         echo
     done
 }