Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use snake_case instead of camelCase in history JSON keys #16

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions bench/bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ type InResult struct {

type OutItem struct {
Duration int `json:"duration"`
AllocSize int `json:"allocationSize"`
AllocNb int `json:"alloccation"`
ReallocNb int `json:"reallocation"`
AllocSize int `json:"alloc_size"`
AllocNb int `json:"alloc_nb"`
ReallocNb int `json:"realloc_nb"`
FreeNb int `json:"free"`
}

type OutResult struct {
Hash git.CommitHash `json:"commitHash"`
Time time.Time `json:"dateTime"`
Hash git.CommitHash `json:"commit"`
Time time.Time `json:"datetime"`
Data struct {
WithIsolate OutItem `json:"withIsolate"`
WithoutIsolate OutItem `json:"withoutIsolate"`
WithIsolate OutItem `json:"with_isolate"`
WithoutIsolate OutItem `json:"without_isolate"`
} `json:"data"`
}

Expand Down
4 changes: 2 additions & 2 deletions wpt/wpt.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type InResult struct {
}

type OutResult struct {
Hash git.CommitHash `json:"commitHash"`
Time time.Time `json:"dateTime"`
Hash git.CommitHash `json:"commit"`
Time time.Time `json:"datetime"`
Data struct {
Pass int `json:"pass"`
Fail int `json:"fail"`
Expand Down