[8.12] [Profiling] Removing hardcoded value (#173266) (#173287)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Profiling] Removing hardcoded value
(#173266)](https://github.com/elastic/kibana/pull/173266)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-13T14:14:21Z","message":"[Profiling]
Removing hardcoded value
(#173266)","sha":"4936d8c6f1aa9f16994733fb16c637d67094396b","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.13.0"],"number":173266,"url":"https://github.com/elastic/kibana/pull/173266","mergeCommit":{"message":"[Profiling]
Removing hardcoded value
(#173266)","sha":"4936d8c6f1aa9f16994733fb16c637d67094396b"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173266","number":173266,"mergeCommit":{"message":"[Profiling]
Removing hardcoded value
(#173266)","sha":"4936d8c6f1aa9f16994733fb16c637d67094396b"}}]}]
BACKPORT-->

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-12-13 10:36:11 -05:00 committed by GitHub
parent 88fceff79d
commit 68a2aa2321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,7 @@ export function DifferentialTopNFunctionsGrid({
baseRows: getFunctionsRows({
calculateImpactEstimates,
topNFunctions: base,
totalSeconds: 900,
totalSeconds,
}),
comparisonRows: getFunctionsRows({
baselineScaleFactor,