fish actually has a built-in profiler for its startup that can be enabled via an argument:
> --profile-startup=PROFILE_FILE > Will write timing for fish startup to specified file.
> --profile-startup=PROFILE_FILE > Will write timing for fish startup to specified file.