ooni-probe-cli/cmd/ooniprobe/internal/database
Arturo Filastò a884481b12
Refactor the list measurements function to make use of nested queries (#662)
* Refactor the list measurements function to make use of nested queries

With a dataset of 1489 test, the ooniprobe list command went from
taking 17.27s to run, to requiring 0.17s or a 100x speed boost

See https://github.com/ooni/probe/issues/1966

* Remove dead code from actions

* Improve the tests for the ListResults function

* Add test for AnomalyCount

* Add more documentation about the merging of the test_keys
2022-01-14 11:24:43 +01:00
..
migrations Add support for tracking the is_uploaded status in the results table (#312) 2021-04-30 17:08:16 +02:00
actions_test.go Refactor the list measurements function to make use of nested queries (#662) 2022-01-14 11:24:43 +01:00
actions.go Refactor the list measurements function to make use of nested queries (#662) 2022-01-14 11:24:43 +01:00
database_test.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
database.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
models.go Refactor the list measurements function to make use of nested queries (#662) 2022-01-14 11:24:43 +01:00