@vpalmisano/webrtcperf 4.5.1 → 4.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpalmisano/webrtcperf",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/vpalmisano/webrtcperf.git"
package/src/plot.ts CHANGED
@@ -175,7 +175,19 @@ function groupByParticipant(rows: StatsRow[]) {
175
175
  return m
176
176
  }
177
177
 
178
+ /**
179
+ * It plots a detailed stats dashboard from a CSV file.
180
+ * @param statsFile The path to the CSV file containing the detailed stats.
181
+ * @param outFile The path to the output HTML file.
182
+ * @returns A promise that resolves when the plot is complete.
183
+ * @example
184
+ * ```bash
185
+ * webrtcperf --plot logs/detailed-stats.csv plot.html
186
+ * ```
187
+ */
178
188
  export async function plotDetailedStatsDashboard(statsFile: string, outFile = 'plot.html') {
189
+ log.info(`Plotting detailed stats from ${statsFile} to ${outFile}`)
190
+
179
191
  const rows = await parseStatsFile(statsFile)
180
192
  if (rows.length === 0) {
181
193
  log.warn('No stats found')