Skip to content

Linear growth benchmarks ​

38 of 40 cases match Python Prophet. 2 are intentional differences, explained below.

Each case runs the same input through Effect Prophet and Python Prophet 1.4.0, then compares every forecast row, the trend, each component and the fitted noise. A case matches when all of them agree within its tolerances, and only matching cases are timed.

Each case's dot shows its result: matches, matches with internal differences flagged, intentional difference, doesn't match. Hover over a dot for details.

How to read the tables:

  • Effect output and Python output are each library's final forecast value. Open a case to see every row side by side.
  • Largest difference is the biggest gap between the two forecasts, as a share of the input data's range.
  • Effect time and Python time are the median time for the timed step, usually fitting and predicting. Open a case for every step, including first-run and save/load times.
  • Flagged cases match, but the two libraries stopped their fitting search at slightly different points. The case page shows the internal numbers.
About this run
  • Run 2026-10-20T170110-379Z-27b7ec98 on 2026-10-20, commit 27b7ec9
  • Both libraries ran in linux/arm64 containers on Apple M4 Pro
  • effect-prophet 0.0.0
  • effect 4.0.0
  • prophet 1.4.0
  • Full benchmark report

Timings come from one machine and describe this workload only. They are not a general speed ranking. Where Python is faster, it is often because Python runs Stan's optimizer as compiled C++, while Effect Prophet runs the same algorithm as WebAssembly with narrower vector instructions. The gap is widest for Newton's method on short histories with many parameters.

Country holiday calendars ​

Pinned country calendars, matching explicit-event controls, dynamic future years and portable saved models. Known-gap opt-in is partial provider output, not a completeness guarantee.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
US holidays, additive96 rows21.568821.5688< 0.0001%Fit and predict5.01 ms28.2 ms
Explicit US control, additive96 rows21.568821.5688< 0.0001%Fit and predict3.97 ms22.4 ms
US holidays, multiplicative96 rows21.577821.5778< 0.0001%Fit and predict4.93 ms28.5 ms
Explicit US control, multiplicative96 rows21.577821.5778< 0.0001%Fit and predict4.66 ms25.8 ms
Observed spillovers and unseen future names96 rows33.938533.9385< 0.0001%Fit and predict5.50 ms27.2 ms

Default settings ​

fit(history) against Prophet().fit(df) with no options on either side. Each library decides on its own which seasonal patterns to use.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Defaults, one month of daily data32 rows30.793330.7933< 0.0001%Fit and predict17.9 ms66.6 ms
Defaults, eight months of daily data256 rows139.9296139.92780.0018%Fit and predict26.2 ms89.5 ms
Defaults, irregular dates192 rows108.5108108.43200.11%Fit and predict6.45 ms16.7 ms

Straight-line and bending trends with automatic or hand-picked changepoints, plus unsorted rows, repeated timestamps and both target scalings.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Predicting from a known straight line256 rows43.780443.7804< 0.0001%Predict304 µs2.67 ms
One hand-picked changepoint32 rows28.515628.5156< 0.0001%Fit and predict1.65 ms15.0 ms
Sorted rows, hand-picked changepoint96 rows34.414534.4145< 0.0001%Fit4.01 ms20.9 ms
Sorted rows, automatic changepoints96 rows34.425834.4258< 0.0001%Fit30.9 ms107 ms
Shuffled rows, hand-picked changepoint96 rows34.414534.4145< 0.0001%Fit4.03 ms20.7 ms
Shuffled rows, automatic changepoints96 rows34.425834.4258< 0.0001%Fit31.5 ms107 ms
Repeated timestamps, hand-picked changepoint96 rows17.873717.8737< 0.0001%Fit3.96 ms19.8 ms
Repeated timestamps, automatic changepoints96 rows17.903917.90390.0013%Fit26.2 ms83.8 ms
Values far from zero, absmax scaling96 rows113.0935113.0935< 0.0001%Fit and predict5.44 ms26.1 ms
Values far from zero, minmax scaling96 rows113.0928113.0928< 0.0001%Fit and predict5.28 ms26.7 ms

Seasonality, events and regressors ​

Custom and switchable seasonal patterns, events with windows, extra regressors, and additive and multiplicative effects mixed together.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Weekly pattern on irregular dates192 rows108.5119108.5118< 0.0001%Fit and predict1.49 ms11.3 ms
Two switchable weekly patterns256 rows139.4380139.43530.0028%Fit and predict3.11 ms15.7 ms
Events with windows96 rows54.282154.2821< 0.0001%Fit and predict6.77 ms33.1 ms
Four regressors256 rows138.7457138.74260.0032%Fit and predict2.96 ms13.6 ms
Everything at once, small24 rows21.202521.2025< 0.0001%Fit and predict1.65 ms16.6 ms
Everything at once, two years768 rows54.270654.26570.015%Fit and predict12.9 ms43.1 ms
Additive and multiplicative together96 rows44.518344.5183< 0.0001%Fit and predict4.91 ms31.8 ms
Repeated timestamps with features96 rows18.219118.22000.017%Fit32.6 ms112 ms

Uncertainty ranges ​

Both libraries simulate possible futures with random draws, so individual simulated values never match. Each range must still match Python's within the variation expected from that many draws.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Defaults, three years of ranges1095 rows611.2687611.31560.011%Simulate uncertainty71.3 ms379 ms
Defaults, ranges on irregular dates192 rows108.5108108.43200.15%Simulate uncertainty11.9 ms158 ms
Samples with repeated timestamps96 rows17.903917.90390.0013%Simulate uncertainty498 µs16.9 ms
Ranges over past dates96 rows110.0950110.0950< 0.0001%Simulate uncertainty327 µs20.3 ms
Samples for one future date96 rows110.0819110.0819< 0.0001%Simulate uncertainty208 µs17.2 ms
Ranges with mixed effects96 rows45.135345.1353< 0.0001%Simulate uncertainty398 µs26.0 ms
Samples with mixed effects96 rows45.135345.1353< 0.0001%Simulate uncertainty726 µs68.6 ms

Cross-validation and choosing settings ​

Rolling-origin cross-validation, metrics, baselines, settings search and a final holdout check.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Cross-validation and metrics96 rows108.5823108.5823< 0.0001%Cross-validate9.52 ms75.7 ms
Cross-validation with ranges96 rows108.5823108.5823< 0.0001%Cross-validate with ranges9.74 ms76.9 ms
Choosing settings and a final holdout96 rows108.5823108.5823< 0.0001%Search settings20.5 ms164 ms
Search with a failing candidate96 rows108.5823108.5823< 0.0001%Search settings20.5 ms156 ms
Cross-validation with repeated timestamps96 rows15.522115.5221< 0.0001%Cross-validate5.76 ms60.4 ms

Intentional differences ​

Inputs where we deliberately behave differently from Python Prophet. These cases are expected to fail the comparison.

CaseInputEffect outputPython outputLargest differenceTimed stepEffect timePython time
Every row on the same date, different values3 rowsFittingErrorOptimizer crash————
Every row on the same date, same value3 rowsFittingErrorNaN forecast————

Inspired by Prophet from Meta. Not affiliated with Meta.