refactor: replace json with json-iterator/go to improve performance

This commit is contained in:
debugtalk
2022-03-04 17:39:15 +08:00
parent 54431f205b
commit ce4c3d414e
12 changed files with 37 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
package boomer
import (
"encoding/json"
"fmt"
"os"
"sort"
@@ -13,6 +12,8 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/push"
"github.com/rs/zerolog/log"
"github.com/httprunner/hrp/internal/json"
)
// Output is primarily responsible for printing test results to different destinations

View File

@@ -1,8 +1,9 @@
package boomer
import (
"encoding/json"
"time"
"github.com/httprunner/hrp/internal/json"
)
type transaction struct {