Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,33 @@ const hasMeasurements = versions.some(
/>

<VersionLineChart
{...prepareSSRLatencyHistory(versions, 25, 'p99LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 25, 'p99Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 50, 'p99LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 50, 'p99Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 100, 'p99LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 100, 'p99Latency', testsKey)}
/>

<VersionLineChart
{...prepareSSRLatencyHistory(versions, 25, 'p90LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 25, 'p90Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 50, 'p90LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 50, 'p90Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 100, 'p90LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 100, 'p90Latency', testsKey)}
/>

<VersionLineChart
{...prepareSSRLatencyHistory(versions, 25, 'p75LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 25, 'p75Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 50, 'p75LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 50, 'p75Latency', testsKey)}
/>
<VersionLineChart
{...prepareSSRLatencyHistory(versions, 100, 'p75LatencyMs', testsKey)}
{...prepareSSRLatencyHistory(versions, 100, 'p75Latency', testsKey)}
/>
</>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { title, data } = Astro.props
{title}
data={data.map((datum) => ({
name: datum.name,
total: datum.interactionLatencyMs,
total: datum.interactionLatency,
values: Object.fromEntries(
INTERACTION_PHASES.map(({ key }) => [key, datum[key]]),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ interface Props {
const { testsKey } = Astro.props
const data = getRenderedInteractionBreakdownData(testsKey).sort(
(a, b) =>
a.interactionLatencyMs - b.interactionLatencyMs ||
a.name.localeCompare(b.name),
a.interactionLatency - b.interactionLatency || a.name.localeCompare(b.name),
)
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Props {
const { testsKey = 'ssrLoadTests' } = Astro.props
const byConnections = prepareSSRLatencyByConnections(
ssrRequestThroughputStats,
'p75LatencyMs',
'p75Latency',
testsKey,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Props {
const { testsKey = 'ssrLoadTests' } = Astro.props
const byConnections = prepareSSRLatencyByConnections(
ssrRequestThroughputStats,
'p90LatencyMs',
'p90Latency',
testsKey,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Props {
const { testsKey = 'ssrLoadTests' } = Astro.props
const byConnections = prepareSSRLatencyByConnections(
ssrRequestThroughputStats,
'p99LatencyMs',
'p99Latency',
testsKey,
)

Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/components/test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const barChart = (): ComponentProps<typeof ComparisonBarChart> =>
...framework,
frameworkVersion: '1.0.0',
install: {
installTimeMs: { median: 1000 },
nodeModulesSizeBytes: { value: framework.sizeMb * MB, unit: 'bytes' },
installTime: { median: 1000 },
nodeModulesSize: { value: framework.sizeMb * MB, unit: 'bytes' },
},
})),
)
Expand Down
Loading
Loading