[Koha-bugs] [Bug 34088] Schema upgrade should short circuit faster if no upgrade needs to be done
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 4 03:46:55 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34088
--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #7)
> So I've just made a wild discovery...
>
> I'm adding a function to determine whether or not there are any atomic
> updates. The check is actually very quick, but when you return a non-null
> value - even if it's an empty arrayref, the time slows down by 1.152 seconds.
>
> It's bizarre...
Ah wait(In reply to David Cook from comment #7)
> So I've just made a wild discovery...
>
> I'm adding a function to determine whether or not there are any atomic
> updates. The check is actually very quick, but when you return a non-null
> value - even if it's an empty arrayref, the time slows down by 1.152 seconds.
>
> It's bizarre...
Ah wait it was obvious in the end.
If something seems magical, you're clearly just missing something obvious hehe.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list