Skip to content

Optimize for Arrow in-memory format #1331

@adsharma

Description

@adsharma

As seen in #1328 there is a substantial difference in performance in using a graph stored using C++ vectors (~2 seconds) vs when benchmarking end to end from python + pandas (~9 seconds). Benchmark script

A lot of data scientists use python and arrow ( a standardized columnar format) to read graphs into memory.

Polars (implemented in rust) uses arrow natively. Pandas optionally since 2.0:

df = pd.DataFrame({"a": [1, 2, 3]}, dtype_backend="pyarrow")

Optimizing for this use case could unlock even more performance for networkit users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions