* github.com/Jeffail/gabs */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A Verifies: STK-REQ-007 MCDC STK-REQ-007: N/A reqproof:proptest:skip performance benchmark; me
(b *testing.B)
| 283 | // MCDC STK-REQ-007: N/A |
| 284 | // reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference |
| 285 | func BenchmarkGabsSmall(b *testing.B) { |
| 286 | for i := 0; i < b.N; i++ { |
| 287 | json, _ := gabs.ParseJSON(smallFixture) |
| 288 | |
| 289 | nothing( |
| 290 | json.Path("uuid").Data().(string), |
| 291 | json.Path("tz").Data().(float64), |
| 292 | json.Path("ua").Data().(string), |
| 293 | json.Path("st").Data().(float64), |
| 294 | ) |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | /* |
| 299 | github.com/bitly/go-simplejson |