mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 04:49:05 +01:00
Finish uncompressed load data benchmark
This commit is contained in:
parent
7213e7bb43
commit
c64b996742
@ -147,6 +147,9 @@ func BenchmarkLoadJobData(b *testing.B) {
|
|||||||
jobIn.JobID = 1403244
|
jobIn.JobID = 1403244
|
||||||
jobIn.Cluster = "emmy"
|
jobIn.Cluster = "emmy"
|
||||||
|
|
||||||
|
util.UncompressFile(filepath.Join(jobarchive, "emmy/1403/244/1608923076/data.json.gz"),
|
||||||
|
filepath.Join(jobarchive, "emmy/1403/244/1608923076/data.json"))
|
||||||
|
|
||||||
b.ResetTimer()
|
b.ResetTimer()
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
fsa.LoadJobData(&jobIn)
|
fsa.LoadJobData(&jobIn)
|
||||||
|
Loading…
Reference in New Issue
Block a user