[New-bugs-announce] [issue26383] number of decimal places in csv output

Florin Papa report at bugs.python.org
Thu Feb 18 09:30:26 EST 2016


New submission from Florin Papa:

Hi,

This is Florin Papa from the Dynamic Scripting Languages Optimizations Team at Intel Corporation.

This patch checks whether the benchmark measurement that will be included in the csv output has more than 3 of the first decimal places equal to 0 and outputs more decimal places.

The problem is that each measurement in the csv output has only 6 decimal places (default for "%f" format), while some benchmarks, like unpack_sequence, will output values of the magnitude 0.0000xx (first four decimal places 0). This truncation of the original value can lead to incorrect results.

----------
components: Benchmarks
files: decimal_csv_output.csv
messages: 260460
nosy: brett.cannon, florin.papa, pitrou
priority: normal
severity: normal
status: open
title: number of decimal places in csv output
type: behavior
versions: Python 2.7, Python 3.6
Added file: http://bugs.python.org/file41955/decimal_csv_output.csv

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26383>
_______________________________________


More information about the New-bugs-announce mailing list