What is FlexReport?
FlexReport is a completely revamped and a newer C1Report, empowering .NET developers to solve complex problems for their application’s business needs. In addition to enhancing the way your users design their reports, you’ll also make data calculation easier when you take advantage of 10+ feature-enriched data visualization controls and a variety of functions available in FlexReport. FlexReport aims to be lightweight and twice as fast as C1Report, in particular for rendering small reports.
What’s more, with better compatibility and enhanced report design, FlexReport allows you to import Crystal Reports more efficiently than ever.
- FlexReport will be introduced for WinForms for 2015 v3 (mid-November) and will be supported in other platforms in future releases.
How FlexReport is different?
- FlexReport uses Direct2D and DirectWrite for drawing and text drawing/measuring. Most industry standards show that these are more effective technologies than GDI+/GDI.Here is a Performance and rendering comparison between Direct Write/2D vs GDI: Note that rendering of rounder corners is much smoother and accurate using FlexViewer that uses Direct Write/2D technology to render reports than C1PrintPreviewControl that uses GDI rendering. You may also note that the rendering time with FlexViewer is faster than C1PrintPreviewControl, one of the reasons is Direct Write/2D rendering, but it is also in combination with a faster reporting engine.
- FlexReport has a common base for a hierarchy of field objects like Barcode Field, Image Field etc., i.e., different field for different operation. Such a model allows users to create more flexible reports.
- FlexReport’s cache feature works with expressions, a common need in the reporting domain, so there’s no need to compile expressions at every execution.
- In FlexReport, PDF & HTML Export is implemented via special graphics components that directly convert all drawing commands to PDF/HTML components. This also makes PDF Export in FlexReport twice as fast as C1Report, where pages were drawn on metafiles, which resulted in loss of performance while converting GDI+ to GDI components.
Performance Comparison with C1Report
We've tested FlexReport alongside C1Report on a number of standard use-cases to demonstrate the performance improvement. Here are some results comparing FlexReport vs C1Report taken on Intel® Core™ i7-4870HQ Processor.
The results show execution time in milliseconds for following areas:
- Rendering report
- Exporting report to PDF
- Exporting report to HTML
Use-Case I - Standard Reports (280 Pages)
This simple test case contained features like:
- Grouping on Database Fields
- Summary Field on Groups
Use-Case II - Complex Reports
The objective of a complex report is to use multiple features of report like multiple fields, groups and summary field in a report. The test case included:
- Image and Chart in Page Header
- Grouping on a Field
- Detail section with Database Fields
- Summary Field in Group Footer
The performance results were measured for a different number of report pages, from 10 to 500 pages.
Use-Case III - Reports with Charts/Barcodes
Barcode Report: This report uses the Barcode Field with QRCode Barcode Style and binds it with a Database Field. The Barcode is placed in the Detail section and displayed for every record.
Chart Report: This simple report uses Chart Field in Detail section. The report is bound to about 77 records in the database and displays for every record.
Please note that test results will vary on different machines and configurations. Once FlexReport is out for release, we invite you to compare the results for yourself and leave your comments and feedback below.
What do you think about FlexReport performance gains? Leave a comment below. Thanks!
While performance is one of the aspects we’ve improved in FlexReport, we’ve also added many other functionalities to make it an easy and more flexible tool to use. Stay tuned for more news on FlexReport and other new features that will be part of it.