akkoma/benchmarks/load_testing
Oneric 521dfa4670 Use keyed lists for pagination with foreign id
The old approach required adding a special virtual field
to any table potentially needing such foreign-id pagination and
also still required manually sorting according to pagiantion settings
since the pagination helper does not know whether
this virtual field was set or not.

Using lists with each entry containing the pagination id and the actual
entry insterad allows any table to use this mechanism unchanged and
does not require manually sorting.

Since it was unused, this also drops the pagination mode paramter from
fetch_favourited_with_fav_id.

Furthermore, as a side effect of this change a bug in the favourite
benchmark is fixed. It used to incorrectly attempt to use IDs of
the liked objects for pagination instead of the like IDs as advertised
in Link headers.
2025-10-09 00:00:00 +00:00
..
activities.ex Fix benchmarks 2021-12-12 17:35:02 +00:00
fetcher.ex Use keyed lists for pagination with foreign id 2025-10-09 00:00:00 +00:00
helper.ex sync with develop 2020-03-30 11:42:25 +03:00
users.ex Pbkdf2: Use it everywhere. 2021-01-14 15:06:16 +01:00