Skip to content

Lance IO performance is 20x worse than TFRecord #4381

@neuyilan

Description

@neuyilan

I plan to train a model using the TensorFlow training framework, using either Lance or TFRecord for data. I ran a test and found that Lance's pure I/O performance is significantly worse than TFRecord's.
TFRecord's performance is approximately 20 times faster that of Lance.
Below is the results and attached is the test code.

Image Image

I don't know Lance very well, is this as expected?

dataloader_benchmark.py.txt

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