PerformanceΒΆ

Human data under WSL2 with 4 logical CPUs and 7.7 GiB RAM (Python 3.13, pandas 3.1, pyarrow 26), one measurement per call in a fresh process. A first call starts from an empty ens-tables cache and reads a local mirror, including checksums, local copying and conversion but no network transfer. Estimate network time from the download size and available bandwidth. The OS file cache was not cleared. Times exclude imports; peak memory is whole-process RSS, including imports.

Call

Download (MiB)

First call

Peak memory (GiB)

Cached call

Peak memory (GiB)

query(), gene attributes

44

10 s

0.5

0.2 s

0.2

query(), HGNC and Entrez

46

10 s

0.5

0.3 s

0.3

query(), mouse orthologs

46

9 s

0.5

0.2 s

0.3

query(), canonical transcripts

74

24 s

0.8

0.4 s

0.3

scanpy.biomart_annotations()

44

10 s

0.5

0.9 s

0.3

genes()

91

10 s

1.4

0.03 s

0.2

transcripts()

91

9 s

1.4

0.1 s

0.4

xrefs(db="HGNC Symbol")

162

26 s

1.5

0.7 s

0.2

xrefs(db="GO"), 1.6 million rows

162

29 s

1.5

2.1 s

0.8

homologies(..., ref_species="mus_musculus")

7

0.6 s

0.4

0.1 s

0.3

The first legacy query of a release downloads 37 MB of BioMart configuration and schema, and each table then adds its own size: about 6 MB for gene attributes and 35 MB for transcripts. The first xrefs() call also converts the GFF3 that genes() uses. For human, the cache holds about 26 MiB for genes and transcripts and 126 MiB for cross-references.