How to improve scan performance

I see the pull request section is empty in SonarQube.
I think because I’m not using Gitlab CI/CD, the properties sonar.pullrequest.* are not provided and I have to provide them myself.
With Gitlab plugin, it would be something like:

sonar.pullrequest.key=${gitlabMergeRequestIid}
sonar.pullrequest.branch=${gitlabSourceBranch}
sonar.pullrequest.base=${gitlabTargetBranch}