do as you want.

But if you want to keep it here, just call it inside the closure: PerformanceHelperAtom.register(). Or rename it to init.