LightningChart Python Performance Benchmark

Here’s how LightningChart Python compares to other libraries.

Summary Results

Real-time tests

3,630

times faster

than other Python libraries tested

Static tests

22,155

times more performant

than other solutions

The following results are on average, and highlight how much faster LightningChart Python is compared to other Python plotting libraries.

chevron white down
Left image

LightningChart® Python is
12,892x faster

than average of other libraries tested.

In real-time tests, LightningChart Python performed approximately 7,071x faster than Competitor B and about 188x faster than Competitor A.

In static tests, LightningChart Python performed approximately 44,214x faster than Competitor B and about 96x faster than Competitor A.

Python Performance
Python Performance

With these results, LightningChart Python demonstrates a substantial advantage in data rendering efficiency for both real-time and static data visualizations.

Right image
round left white
round right white

Libraries Tested

In the realm of Python graphing libraries, there are several data visualization libraries to choose from.
Matplotlib and Plotly are some of the most popular options chosen by data scientists, researches, engineers, and universities.

This test demonstrates how LightningChart Python is the most performant Python graphing library capable to meet and surpass the needs of those users who require the best data visualization library for their projects.

Both libraries’ results are protected under aliases and are displayed in no particular order.

matplotlib logo
lc python for light bg logo
plotly logo
round-corner left
round-corner right

Evaluation

We conducted static and real-time performance tests on
different chart types in both 2D and 3D visualizations.

streaming data icon

Streaming Data Performance

A parameter that measures how efficiently each charting library can consume and display streaming data.

data capacity icon

Maximum Data Capacity

A parameter that measures how large are the datasets that each solution can visualize. Scores are measured as numbers of data points across all channels.

The different chart types evaluated were the following:
2d Line 2D Line
3D Line 3D Line
2D Scatter 2D Scatter
3D Scatter 3D Scatter
3D Surface 3D Surface
Heatmap Heatmap
Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 3,000,000 data points per second 100,000,000 data points
Competitor A 15,000 data points per second 7,100,000 data points
Competitor B 1,000 data points per second 50,000 data points

LightningChart Python

Static test: data points rendered

100,000,000 data points

Real-time test: points / second

3,000,000 data points per second

Competitor A

Static test: data points rendered

7,100,000 data points

Real-time test: points / second

15,000 data points per second

Competitor B

Static test: data points rendered

50,000 data points

Real-time test: points / second

1,000 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

2D Scatter

588x faster than Competitor A

2D Scatter

26,401x faster than Competitor B

Static tests

LightningChart Python is:

2D Scatter

42x faster than Competitor A

2D Scatter

29,277x faster than Competitor B

Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 100,000 data points per second 665,000 data points
Competitor A 65,000 data points per second 460,000 data points
Competitor B 300 data points per second 5,000 data points

LightningChart Python

Static test: data points rendered

665,000 data points

Real-time test: points / second

100,000 data points per second

Competitor A

Static test: data points rendered

460,000 data points

Real-time test: points / second

65,000 data points per second

Competitor B

Static test: data points rendered

5,000 data points

Real-time test: points / second

300 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

Real-time arrow

2× faster than Competitor A

Real-time arrow

346× faster than Competitor B

Static tests

LightningChart Python is:

Static arrow

1.4× faster than Competitor A

Static arrow

498× faster than Competitor B

Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 55,000 data points per second 1,900,000 data points
Competitor A 15,000 data points per second 1,150,000 data points
Competitor B 600 data points per second 1,000 data points

LightningChart Python

Static test: data points rendered

1,900,000 data points

Real-time test: points / second

55,000 data points per second

Competitor A

Static test: data points rendered

1,150,000 data points

Real-time test: points / second

15,000 data points per second

Competitor B

Static test: data points rendered

1,000 data points

Real-time test: points / second

600 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

Real-time arrow

4× faster than Competitor A

Real-time arrow

94× faster than Competitor B

Static tests

LightningChart Python is:

Static arrow

1.85× faster than Competitor A

Static arrow

6,751× faster than Competitor B

Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 340,000 data points per second 2,560,000 data points
Competitor A 4,000 data points per second 75,076 data points
Competitor B 50 data points per second 900 data points

LightningChart Python

Static test: data points rendered

2,560,000 data points

Real-time test: points / second

340,000 data points per second

Competitor A

Static test: data points rendered

75,076 data points

Real-time test: points / second

4,000 data points per second

Competitor B

Static test: data points rendered

900 data points

Real-time test: points / second

50 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

Real-time arrow

87× faster than Competitor A

Real-time arrow

9,231× faster than Competitor B

Static tests

LightningChart Python is:

Static arrow

33× faster than Competitor A

Static arrow

9,939× faster than Competitor B

Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 62,500 data points per second 20,000,000 data points
Competitor A 3,750 data points per second 220,000 data points
Competitor B 1,000 data points per second 400 data points

LightningChart Python

Static test: data points rendered

20,000,000 data points

Real-time test: points / second

62,500 data points per second

Competitor A

Static test: data points rendered

220,000 data points

Real-time test: points / second

3,750 data points per second

Competitor B

Static test: data points rendered

400 data points

Real-time test: points / second

1,000 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

Real-time arrow

16× faster than Competitor A

Real-time arrow

1,913× faster than Competitor B

Static tests

LightningChart Python is:

Static arrow

94× faster than Competitor A

Static arrow

192,451× faster than Competitor B

Solution Real-time test: points / second Static test: data points rendered
LightningChart Python 16,000,000 data points per second 225,000,000 data points
Competitor A 40,000 data points per second 1,850,000 data points
Competitor B 40,000 data points per second 100,000 data points

LightningChart Python

Static test: data points rendered

225,000,000 data points

Real-time test: points / second

16,000,000 data points per second

Competitor A

Static test: data points rendered

1,850,000 data points

Real-time test: points / second

40,000 data points per second

Competitor B

Static test: data points rendered

100,000 data points

Real-time test: points / second

40,000 data points per second

Performance gain:

Real-time tests

LightningChart Python is:

Real-time arrow

428× faster than Competitor A

Real-time arrow

4439× faster than Competitor B

Static tests

LightningChart Python is:

Static arrow

403× faster than Competitor A

Static arrow

26,370× faster than Competitor B

round-corner left
round-corner right

Replicating the test

This test was performed with a mediocre software development desktop computer, not cherry-picked to favor LightningChart Python results.  The results will vary depending on the computer setup used. The results reported give a good ball-park indication of huge performance difference between the libraries.

Conclusion

The test clearly indicates LightningChart Python significantly outperforms the other tested libraries in both streaming and static data visualization scenarios, with a significant difference. LightningChart is the fastest data visualization library for Python in the tests.

LightningChart’s remarkable rendering performance enables building demanding projects that haven’t been possible before: Interactive, instantly responsive, applications capable of smooth visualization of scientific, engineering, medical, seismic, vibration, sensor data, racing car telemetry, financial, industrial automation or digital signal processing data in real-time, just to name some.

LightningChart has pioneered GPU-accelerated data visualization technologies since 2007, and is now empowering next-generation Python projects with the super-performant LightningChart® technology.

round-corner left
round-corner right
logo lightningchart
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.