Published
Edited
Mar 12, 2021
Insert cell
md`# ARJS Performance evaluation`
Insert cell
Insert cell
Insert cell
Insert cell
// ArAll = require("@grapecity/activereports/dist/ar-js-pdf.js").catch(() => window['@grapecity/ar-js-pdf'])
import('https://unpkg.com/@grapecity/activereports@2.0.3/dist/ar-js-pdf.js?module')
Insert cell
ArModules = Object.getOwnPropertyNames(window).filter(n => n.indexOf('@grapecity') >= 0)
Insert cell
ArPdf = window['@grapecity/activereports/core']
Insert cell
report = {
let report = new ArCore.PageReport();
let reportFile = await FileAttachment("cars.rdlx-json").json();
await report.load(reportFile);
return report;
}
Insert cell
result = {
let t = Date.now()
let document = await report.run();
// const result = await PdfExport.exportDocument(doc, pdfExportSettings);
// result.download("exportedreport.pdf");
return [t, Date.now() - t];
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more