Python performance

Codespeed websites


Python benchmarks:

Other Python Benchmarks:

Old deprecated projects:

  • benchmarks: the old and deprecated Python benchmark suite

Old Python benchmarks

The following benchmarks were removed from pyperformance:

Zero copy


offset = 0
view = memoryview(large_data)
while True:
    chunk = view[offset:offset + 4096]
    offset += file.write(chunk)

This copy creates views on large_data without copying bytes, no bytes is copied in memory.