Remove puffin usage

This commit is contained in:
Clément Renault 2024-05-27 15:59:14 +02:00
parent 7f3e51349e
commit dc949ab46a
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
23 changed files with 2 additions and 181 deletions

View file

@ -398,8 +398,6 @@ impl<'a, 't, 'i> Settings<'a, 't, 'i> {
FP: Fn(UpdateIndexingStep) + Sync,
FA: Fn() -> bool + Sync,
{
puffin::profile_function!();
// if the settings are set before any document update, we don't need to do anything, and
// will set the primary key during the first document addition.
if self.index.number_of_documents(self.wtxn)? == 0 {