pgbench (17.10 (Homebrew)) transaction type: /bench/txn_rls.sql scaling factor: 1 query mode: prepared number of clients: 8 number of threads: 4 maximum number of tries: 1 duration: 20 s number of transactions actually processed: 957 number of failed transactions: 0 (0.000%) latency average = 170.747 ms initial connection time = 504.441 ms tps = 46.853072 (without initial connection time) statement latencies in milliseconds and failures: 0.008 0 \set p random(1, 16) 5.610 0 BEGIN; 7.134 0 SELECT set_config('request.jwt.claims', claims::text, true) FROM bench.persona WHERE i = :p; 39.563 0 SELECT id, title, status FROM public.event WHERE club_id = (SELECT club FROM bench.persona WHERE i = :p) ORDER BY created_at DE 45.631 0 SELECT count(*) FROM (SELECT id FROM public.event WHERE status IN ('scheduled', 'registration_open', 'live') ORDER BY created_a 41.373 0 INSERT INTO public.event_save (account_id, user_id, event_id) SELECT acct, uid, save_event FROM bench.persona WHERE i = :p ON C 13.995 0 DELETE FROM public.event_save WHERE user_id = (SELECT uid FROM bench.persona WHERE i = :p) AND event_id = (SELECT save_event FR 11.198 0 COMMIT;