rbetrace

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

package rbetrace contains utilities for working with RBE traces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRPLFile

func FromRPLFile(ctx context.Context, rpl2TraceBin, rplPath, tmpDir string) ([]chrometrace.Trace, error)

FromRPLFile converts reproxy's RPL file containing reproxy's performance metrics to Chrome trace format.

This function relies on reclient's rpl2trace binary for parsing RPL files, because currently there are no easy ways to depend on the proto schema reclient uses to write RPL files (RPL files are textprotos).

func Interleave

func Interleave(mainTraces []chrometrace.Trace, rbeTraces []chrometrace.Trace) ([]chrometrace.Trace, error)

Interleave interleaves the input rbeTraces into mainTraces. Traces are joined on outputs, and timestamps are aligned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL