@hyperframes/producer 0.10.1 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -2912,6 +2912,9 @@ function buildRenderPerfSummary(input) {
|
|
|
2912
2912
|
tmpPeakBytes: input.tmpPeakBytes,
|
|
2913
2913
|
captureCalibration: input.captureCalibration ? {
|
|
2914
2914
|
sampledFrames: input.captureCalibration.samples.map((sample) => sample.frameIndex),
|
|
2915
|
+
sampleMs: input.captureCalibration.samples.map(
|
|
2916
|
+
(sample) => Math.round(sample.captureTimeMs)
|
|
2917
|
+
),
|
|
2915
2918
|
p95Ms: input.captureCalibration.estimate.p95Ms,
|
|
2916
2919
|
multiplier: input.captureCalibration.estimate.multiplier,
|
|
2917
2920
|
reasons: input.captureCalibration.estimate.reasons
|
|
@@ -6055,12 +6058,14 @@ function logCaptureCalibrationResult(calibration, log) {
|
|
|
6055
6058
|
log.warn("[Render] Measured slow frame capture during auto-worker calibration.", {
|
|
6056
6059
|
multiplier: calibration.estimate.multiplier,
|
|
6057
6060
|
p95Ms: calibration.estimate.p95Ms,
|
|
6058
|
-
sampledFrames: calibration.samples.map((sample) => sample.frameIndex)
|
|
6061
|
+
sampledFrames: calibration.samples.map((sample) => sample.frameIndex),
|
|
6062
|
+
sampleMs: calibration.samples.map((sample) => Math.round(sample.captureTimeMs))
|
|
6059
6063
|
});
|
|
6060
6064
|
} else {
|
|
6061
6065
|
log.debug("[Render] Auto-worker calibration kept baseline capture cost.", {
|
|
6062
6066
|
p95Ms: calibration.estimate.p95Ms,
|
|
6063
|
-
sampledFrames: calibration.samples.map((sample) => sample.frameIndex)
|
|
6067
|
+
sampledFrames: calibration.samples.map((sample) => sample.frameIndex),
|
|
6068
|
+
sampleMs: calibration.samples.map((sample) => Math.round(sample.captureTimeMs))
|
|
6064
6069
|
});
|
|
6065
6070
|
}
|
|
6066
6071
|
}
|
package/dist/public-server.js
CHANGED
|
@@ -2950,6 +2950,9 @@ function buildRenderPerfSummary(input) {
|
|
|
2950
2950
|
tmpPeakBytes: input.tmpPeakBytes,
|
|
2951
2951
|
captureCalibration: input.captureCalibration ? {
|
|
2952
2952
|
sampledFrames: input.captureCalibration.samples.map((sample) => sample.frameIndex),
|
|
2953
|
+
sampleMs: input.captureCalibration.samples.map(
|
|
2954
|
+
(sample) => Math.round(sample.captureTimeMs)
|
|
2955
|
+
),
|
|
2953
2956
|
p95Ms: input.captureCalibration.estimate.p95Ms,
|
|
2954
2957
|
multiplier: input.captureCalibration.estimate.multiplier,
|
|
2955
2958
|
reasons: input.captureCalibration.estimate.reasons
|
|
@@ -6093,12 +6096,14 @@ function logCaptureCalibrationResult(calibration, log) {
|
|
|
6093
6096
|
log.warn("[Render] Measured slow frame capture during auto-worker calibration.", {
|
|
6094
6097
|
multiplier: calibration.estimate.multiplier,
|
|
6095
6098
|
p95Ms: calibration.estimate.p95Ms,
|
|
6096
|
-
sampledFrames: calibration.samples.map((sample) => sample.frameIndex)
|
|
6099
|
+
sampledFrames: calibration.samples.map((sample) => sample.frameIndex),
|
|
6100
|
+
sampleMs: calibration.samples.map((sample) => Math.round(sample.captureTimeMs))
|
|
6097
6101
|
});
|
|
6098
6102
|
} else {
|
|
6099
6103
|
log.debug("[Render] Auto-worker calibration kept baseline capture cost.", {
|
|
6100
6104
|
p95Ms: calibration.estimate.p95Ms,
|
|
6101
|
-
sampledFrames: calibration.samples.map((sample) => sample.frameIndex)
|
|
6105
|
+
sampledFrames: calibration.samples.map((sample) => sample.frameIndex),
|
|
6106
|
+
sampleMs: calibration.samples.map((sample) => Math.round(sample.captureTimeMs))
|
|
6102
6107
|
});
|
|
6103
6108
|
}
|
|
6104
6109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/producer",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"postcss": "^8.4.0",
|
|
36
36
|
"puppeteer": "~25.13.0",
|
|
37
37
|
"puppeteer-core": "^25.13.0",
|
|
38
|
-
"@hyperframes/core": "0.10.
|
|
39
|
-
"@hyperframes/engine": "0.10.
|
|
40
|
-
"@hyperframes/
|
|
41
|
-
"@hyperframes/
|
|
42
|
-
"@hyperframes/
|
|
43
|
-
"@hyperframes/studio-server": "0.10.
|
|
38
|
+
"@hyperframes/core": "0.10.4",
|
|
39
|
+
"@hyperframes/engine": "0.10.4",
|
|
40
|
+
"@hyperframes/parsers": "0.10.4",
|
|
41
|
+
"@hyperframes/lint": "0.10.4",
|
|
42
|
+
"@hyperframes/share": "0.10.4",
|
|
43
|
+
"@hyperframes/studio-server": "0.10.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^25.0.10",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"tsx": "^4.21.0",
|
|
50
50
|
"typescript": "^5.7.2",
|
|
51
51
|
"vitest": "^4.1.12",
|
|
52
|
-
"@hyperframes/aws-lambda": "0.10.
|
|
52
|
+
"@hyperframes/aws-lambda": "0.10.4"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=22.19.0"
|