Performance regression when writing references with the reftable backend

Bencher has made us aware of a performance regression when writing references:

20251106_08h04m43s_grim