25% write performance difference between InfluxDB v1 and v2

Hi, team,

I’m trying to use the inch project provided in influxdb v1 to benchmark the write performance. Here is my fork’s code inch/inch.go at 04b0281ddb85677b90851c72766a30d448fe60f7 · ztlevi/inch · GitHub

I am aware of a significant difference between v1 and v2. v1 takes 3.2 s to load a 2.5M records parquet file and dump to db but v2 takes ~4s.

It uses same HTTP protocol. Is there anything I did wrong here?

Why there is such a huge performance difference?

Thanks!