This repo checks whether each Gantt engine calculates the schedule a project manager would expect. It has two parts:
- A headless benchmark. 38 scheduling cases run in headless Chromium against each engine, and the results are compared with expected values derived by hand.
- Two demo apps. They show both products running the key cases on the same page, one app for the paid editions and one for the free editions.
| Target | Package | Version |
|---|---|---|
| Bryntum Gantt Enterprise | @bryntum/gantt-enterprise |
8.0.2 |
| Bryntum Gantt Community (MIT) | @bryntum/gantt-community |
8.0.2 |
| DHTMLX Gantt PRO (evaluation build) | @dhx/trial-gantt |
10.1.0 |
| DHTMLX Gantt Community (MIT) | dhtmlx-gantt |
10.1.0 |
| DHTMLX Gantt PRO with DHTMLX Planning Engine as its scheduler (trial builds, optional) | @dhx/trial-gantt + @dhx/plen-js-trial |
10.1.0 + 1.1.0 |
The latest results are in results/RESULTS.md.
You need Node 22 or later.
npm install
npx playwright install chromium
npm run bench # validate the cases, then run every case against every target
npm run report # build results/RESULTS.mdTo run some targets or cases only, pass filters (be Bryntum Enterprise, bc Bryntum Community, dp DHTMLX PRO, dc DHTMLX Community, dpe DHTMLX PRO with Planning Engine):
npm run bench -- --targets be,dp --cases C04,C10
npm run reportPartial runs merge into the existing results. The browser runs in UTC; add --zones UTC,Asia/Tokyo to check that results don't change with the browser's time zone.
- Bryntum Gantt Enterprise: no sign-up needed. Without a license key it runs as a trial, with the same engine and the same results. If you have a key, copy
.env.exampleto.envand setBRYNTUM_LICENCE_KEY. The benchmark and the paid demo app both read it. - DHTMLX Gantt PRO: no sign-up needed.
npm installdownloads DHTMLX's public evaluation build (@dhx/trial-ganttfor the benchmark,@dhtmlx/trial-react-ganttfor the paid demo app). - DHTMLX Planning Engine: needs a trial login (see below). It's only used by the DHTMLX Gantt PRO with Planning Engine target, and it's optional: without it, everything else runs.
- The free editions (
@bryntum/gantt-communityanddhtmlx-gantt) are MIT packages on public npm.
The Planning Engine trial package is on a DHTMLX registry that needs a login. Request a Planning Engine trial, and DHTMLX emails you a user name and password for the registry. Without them, npm install skips the package and the DHTMLX Gantt PRO with Planning Engine column shows Not run. With them:
export PLEN_AUTH=$(printf '%s' 'your-trial-user:your-trial-password' | base64)
npm install.npmrc reads PLEN_AUTH from the environment, so the login is never written to a file.
The dpe target registers the Planning Engine as DHTMLX Gantt's scheduling engine (Gantt.registerSchedulingEngine('plen', () => Gantt.createPlanningEngine(plen)) and auto_scheduling.engine: 'plen') and otherwise runs the same mapping as dp. Gantt's typings name the WebAssembly build (@dhx/plen-wasm). We ran every case with both builds, got identical results, and use the JavaScript build (@dhx/plen-js), which needs no .wasm loading. Planning Engine 1.1.0 needed one undocumented fix in the adapter: see adapters/dhtmlx-pro-plen/ADAPTER_NOTES.md.
Each app shows one scenario at a time, chosen from the Scenario dropdown, with Bryntum above and DHTMLX below. The tag next to the expected result (for example, Benchmark case C04) is the case's ID in cases/ and results/RESULTS.md. The letter is the case group: C for core cases, P for paid-edition cases, H for hierarchy (summary task) cases, T for time zones, and F for free-edition cases. The expected result is shown above the charts. Every scenario has a button. Scenarios that test an edit open with the project loaded, and the button makes the same edit in both charts at once. The others open empty, and Load and schedule loads the same data into both engines. A label shows whether you're looking at the state before or after the button, and the line at the top of each chart reports what the library did. Reset puts the scenario back to its starting state.
# Paid editions: Bryntum Gantt Enterprise 8.0.2 vs DHTMLX Gantt PRO 10.1.0
cd app
npm install
npm run dev # http://localhost:5173
# Free editions: Bryntum Gantt Community 8.0.2 vs DHTMLX Gantt Community 10.1.0
cd ../app-community
npm install
npm run dev # http://localhost:5174The DHTMLX Gantt PRO evaluation build shows an evaluation notice, and Bryntum Gantt Enterprise shows a trial badge unless BRYNTUM_LICENCE_KEY is set. Don't publish a production build of app/ (npm run build) with a key set: the key is baked into app/dist.
- Cases (
cases/). Each case is written once, in a neutral format: tasks, links, calendars, resources, assignments, the edits to apply, and the expected result. Every expected value was derived by hand and has its working in the case'sderivationfield. A second, independent derivation of every expected value is incases/INDEPENDENT_REVIEW.md. Dates are wall-clock times; durations, lags and slack are working hours. - Adapters (
adapters/). One page per target translates a case into that engine's own data model, runs it with the engine's documented API, and reads the results back from the engine. Each adapter gives its product the most favorable documented configuration, and itsADAPTER_NOTES.mdlists every setting and the evidence for every capability marked unsupported. - Edits (the
actionsin a case). An adapter makes each edit the way the vendor documents it. When the vendor documents a reschedule call for that kind of edit, the adapter makes it too (for example, DHTMLX's inactive-task sample callsgantt.autoSchedule()). When the engine is meant to handle the edit itself, the adapter adds nothing, so a case that tests rescheduling after an edit measures the engine, not app code. Where an adapter needs a call the docs don't show, itsADAPTER_NOTES.mdsays so. - Judging (
runner/compare.ts). Two times count as equal when no working time lies between them, so a task ending Friday 17:00 and one ending Monday 08:00 are the same end. A result passes only if every expected field matches. For conflicts, Reported only means the engine flagged the conflict but didn't undo the change when the case requires it to.
| Group | File | Cases |
|---|---|---|
| Core scheduling (paid editions) | cases/core.ts |
C01–C14 |
| More paid-edition cases | cases/paid.ts |
P01–P11 |
| Hierarchy (summary tasks) | cases/hierarchy.ts |
H01–H04 |
| Time zones | cases/time-zone.ts |
T01 |
| Free editions (24/7 calendar) | cases/free.ts |
F01–F08 |
The cases include the ones where Bryntum Gantt Enterprise has no API (C14 leveling, P08 free slack, and P09 missed-deadline flag). Where two definitions are defensible (C04 backward-project slack, P07 slack of an ALAP task, P10 baseline variance in working or calendar time, P11 inactive tasks), the case accepts both. A value counts only when the library reports it: where a product has no API and the value would have to be calculated by app code (for example, cost and baseline variance in DHTMLX Gantt), the case is Unsupported.
cases/ the 38 cases (core, paid, hierarchy, time-zone, free), with hand-derived expected values and derivations
adapters/ one page per target, exposing window.__run(case)
runner/ Playwright runner (run.ts) and the comparator (compare.ts)
report/ builds results/RESULTS.md
results/ the latest results
app/ demo app: paid editions, one chart above the other
app-community/ demo app: free editions, one chart above the other
MIT. Bryntum, DHTMLX, and their packages are under their own licenses. The trial builds are for evaluation only.