[RFC] Add script for plotting string benchmark results

Szabolcs Nagy Szabolcs.Nagy@arm.com
Fri Oct 18 15:14:00 GMT 2019


On 18/10/2019 15:47, Krzysztof Koch wrote:
> +import matplotlib as mpl
> +mpl.use("Agg")      # Remove this line to use (default) GUI backend
> +
> +import argparse
> +from collections import defaultdict
> +import json
> +import matplotlib.pyplot as plt

i think it should be possible to move this import into
main after arg parsing, then set a global plt.

then you can have a --backend command line option that
changes mpl.use("Agg") to something else.

> +import numpy as np
> +import os
> +



More information about the Libc-alpha mailing list