"Benchmark Performance of a Rust-Based Python Extension" by Ethan J. Schofield and Douglas D. Hodson 10.1007/978-3-031-85902-1_6">
 

Benchmark Performance of a Rust-Based Python Extension

Document Type

Conference Proceeding

Publication Date

4-23-2025

Abstract

This paper presents a benchmarking analysis comparing the performance of data structures implemented in PyO3 Rust plugins against native Python implementations. The benchmarked data structures include Structure of Arrays (SoA), Array of Structures (AoS), linked lists, and vectors. Rust and Python implementations of each structure were compared, facilitated by PyO3’s wrapping functionality. Benchmarks assessed data access and manipulation, running for 100 iterations across varying element sizes. Results revealed the Rust data structures outperformed the native python implementations with the exception of the Rust AoS plugin.

Comments

This conference paper is published by Springer and is available by purchase or subscription through the DOI link below.

Source Publication

Scientific Computing and Bioinformatics and Computational Biology (CSCE 2024). Communications in Computer and Information Science (CCIS), Volume 2258

This document is currently not available here.

Share

COinS