Thank for reporting this. One recent change I’ve made is set all IO pins to INPUT when the firmware starts. This may have unexpected side effects.
See I2c not working for similar sluggishness reported when I2C pins were set as INPUT.
I’ll need to investigate on a Pi 2.