Martin Heller
Contributing Writer

Curl 6 outperforms Flex 3 on CPU-intensive benchmark

analysis
May 28, 20083 mins

As I've discussed in the past in my reviews of Curl 5 and Curl 6 and in this blog, the Curl RIA environment compiles its code to give it near-native performance. A year ago I thought that Adobe Flex 3 might be efficient enough to close the gap when it was released, but apparently it's not: Curl engineers just did a comparison of Curl 6 and Flex 3 as applied to a JPEG encoding algorithm. Like all benchmark compar

As I’ve discussed in the past in my reviews of Curl 5 and Curl 6 and in this blog, the Curl RIA environment compiles its code to give it near-native performance. A year ago I thought that Adobe Flex 3 might be efficient enough to close the gap when it was released, but apparently it’s not: Curl engineers just did a comparison of Curl 6 and Flex 3 as applied to a JPEG encoding algorithm.

Like all benchmark comparisons, this one’s methodology is open to attack. In addition, the comparison didn’t include Microsoft Silverlight. I expect Silverlight 1.0, which uses interpreted JavaScript, to be a tad slower than Flex 3; I expect Silverlight 2.0, which uses compiled .Net languages, to have speeds competitive with Curl.

Nevertheless, it’s an interesting result, and a big enough difference to be significant. Here’s the release:

RIA Technology Benchmark Test Finds Curl Outperforms Adobe Flex 3

Curl programming language is key factor in superior performance and developer productivity; outperforms Flex by factor of 8 to 10

Cambridge, Mass. – May 28, 2008 – Curl®, Inc. today announced the results from a recent performance benchmark test of the Curl Rich Internet Application (RIA) platform, Version 6.0, and Adobe Flex 3.  The test aimed to compare the performance of these two RIA platforms and found the Curl language to outperform ActionScript 3, the programming language of the Adobe Flash Player runtime, by a factor of 8 to 10. This finding is particularly significant for developers seeking highly productive ways to build mission-critical, enterprise-class RIAs that require high performance capabilities.

The benchmark test, conducted by Curl engineers, comprised of implementing a JPEG encoding algorithm. This is an ideal test case for performance since JPEG encoding is a useful and common computational task. The engineers first translated an existing ActionScript program for JPEG encoding to Curl and compared the resulting performance for three images ranging from small to moderately large.

The results of the test showed that Curl retains a substantial advantage in raw execution speed, attributed mostly to the significant difference in the two platforms’ programming languages. While the Curl language was architected to support compiling to efficient code, Adobe’s ActionScript was not. The end result is Curl’s superior performance for building enterprise RIAs.

“Curl was designed to be a very powerful, high-performing language and platform, and we have always been proud of this unmatched capability,” said Bert Halstead, vice president and chief architect, Curl. “However, in order to consistently demonstrate our dominance in this area, we understand the need to constantly test ourselves against other solutions on the market. The results of this test support our claims, and we will continue to expand on this study to further document Curl’s superiority for enterprise RIAs.”

Curl consistently outperformed Action Script in each of the three test cases. Specific results on the 2.26 GHz benchmark machine included:

  • For the small image – 700 by 933, 0.65 megapixels and 72 kB in size – Curl performed in 0.16 seconds and Flex in 1.72 seconds.
  • For the medium image – 1170 by 1560, 1.83 megapixels and 195 kB in size – Curl recorded 0.46 seconds with Flex at 4.43 seconds.
  • For the large image – 2,560 by 1,920, 4.92 megapixels and 511 kB in size – Curl’s time was 1.36 seconds, and Flex’s was 11.69 seconds.

Multimedia: Curltech flickr page, Curltech photobucket page

Martin Heller

Martin Heller is a contributing writer at InfoWorld. Formerly a web and Windows programming consultant, he developed databases, software, and websites from his office in Andover, Massachusetts, from 1986 to 2010. From 2010 to August of 2012, Martin was vice president of technology and education at Alpha Software. From March 2013 to January 2014, he was chairman of Tubifi, maker of a cloud-based video editor, having previously served as CEO.

Martin is the author or co-author of nearly a dozen PC software packages and half a dozen Web applications. He is also the author of several books on Windows programming. As a consultant, Martin has worked with companies of all sizes to design, develop, improve, and/or debug Windows, web, and database applications, and has performed strategic business consulting for high-tech corporations ranging from tiny to Fortune 100 and from local to multinational.

Martin’s specialties include programming languages C++, Python, C#, JavaScript, and SQL, and databases PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, Google Cloud Spanner, CockroachDB, MongoDB, Cassandra, and Couchbase. He writes about software development, data management, analytics, AI, and machine learning, contributing technology analyses, explainers, how-to articles, and hands-on reviews of software development tools, data platforms, AI models, machine learning libraries, and much more.

More from this author