120 How is CFML Speed vs Other Languages? (Hint: really fast!), with Brad Wood

EPISODE · Sep 25, 2022 · 1H 17M

120 How is CFML Speed vs Other Languages? (Hint: really fast!), with Brad Wood

from ColdFusion Alive

Brad Wood talks about “How is CFML speed vs other languages? (Hint: really fast!)” in this episode of ColdFusion Alive Podcast with host Michaela Light. "...It is freaking awesome to see CFML (both Lucee and Adobe) blowing the pants off other popular web frameworks. I think this sort of head-to-head comparison is great information to use when defending CFML as a battle-tested production server..." Show notes Why compare language performance? It is freaking awesome is it to see CFML (both Lucee and Adobe) blowing the pants off other popular web frameworks. I think this sort of head-to-head comparison is great information to use when defending CFML as a battle-tested production server. (results and tests below). Other ways to compare programming languages Modern development ecosystem Tools IDEs Libraries and frameworks Modern language Ease of coding (writing and reading) Ease of learning Connection to other systems and APIs Manufacturer and community there for the long term + support Ease of hiring App reliability Scalability Security Fashion / what is hot / new What are the TechEmpower performance benchmarks that you used in your testing? The benchmarks have a suite of tests, such as run 20 queries on a page and output some data, and every language and framework implements the same logic in their syntax and style. The tests literally take days to run in full and spin up each combination of language and framework in docker containers where they are hammered with oodles of traffic and then the juicy stats are recorded for sweet graphical comparisons. Since 2012 in EC2, now in Docker containers. Open source. The site is basically information overload. There’s just dozens and dozens of combinations of languages, frameworks, databases, web servers, etc-- and many of them are crazy fast micro frameworks you’ve never heard of which are pretty cool. You can apply a huge list of filters to try and carve down the list of frameworks to a useful size of equivalent ones. See results Not all the test results are the same. Play around with the site to compare your favorite languages and see how they hold up in the simple hello world tests vs the heavy lifting DB tests. I’ve stacked the cards a bit in my selections above, but I think it’s more indicative of a real world web app if we’re honest. What languages did you compare? Brad added the following to the site a year or so ago: Raw Lucee server Raw Adobe ColdFusion server ColdBox MVC running on Lucee ColdBox MVC running on Adobe ColdFusion All the famous languages: CF, PHP, Python, Go, RoR, Grails etc What about front ends such as React, Angular, Vue? What about Java (SpringBoot), WP, dotNot, Cloture Size of CF Docker image Doesn’t matter for this test May matter for clustered Docker solutions with orchestration How did CFML perform? Let me be the first to say Brad’s filters are pretty arbitrary. CFML does better on more complex pages with more queries than other languages. That’s because it’s got a little more overhead for a simple Hello World request (we’re talking ms here) but it’s JVM concurrency and datasource connection pooling really shine on a more complex test. As such, the link and screenshot above is for the “Data Updates” test Languages compared: Go is very fast. This is no surprise as Go is designed to be as small as possible and even discourages use of frameworks all together. I couldn’t get the filter to only show one of the Go configurations, but you can see it’s the only language that was as fast or faster than CFML in this test! CFML basically came in second place out of the selected languages and frameworks. Raw CFML is faster than ColdBox as expected but it’s not a massive difference. Node.js came in slower than both raw CFML and ColdBox MVC Groovy (Grails) came in slower than both raw CFML and ColdBox MVC Ktor jasync (Kotlin) came in slower than both raw CFML and ColdBox MVC Ruby on Rails came in slower than both raw CFML and ColdBox MVC Laravel (PHP) came in slower than ColdBox MVC which it is equivalent to. There’s a million PHP frameworks, I picked this one because I know it’s very popular and modern. Django (Python) came in dead last by a long shot (4x slower than CFML!) Open source involvement Star the repo - a like Watch - a subscribe Fork / Pull request - bug fixes and enhancements Do your first pull request cocompetition  Edit/Add docs CommandBox database migration layer Wrap up State of CF Union survey results show that speed is never an issue for modern CF code neither are security, upgrading or tools Mentioned in this episode Brads blog on this How does CFML really perform compared to other languages? - Communities - Ortus Solutions Community TechPower if you’d like to see the code and Docker setup, feel free to poke around the repo  Adobe ColdFusion Lucee ColdBox Is CF dead article State of CF Union survey results CFCasts CommandBox database migration layer - talk by Brad CF most  Secure language TT blog post Brad blog post Listen to the Audio Bio Brad Wood Brad grew up in southern Missouri and after high school majored in Computer Science with a music minor at MidAmerica Nazarene University (Olathe, KS). Today he lives in Kansas City with his wife and three girls. Brad enjoys all sorts of international food and the great outdoors. Brad has been programming ColdFusion since around 2002 and has used every version of CF since 4.5. He is a software engineer at Ortus Solutions, lead developer of CommandBox CLI, and open source contributor. Links CFML Slack Box Channel Box Team Slack Channel Brad's Website Brad Wood | LinkedIn Twitter Ortus Community Forum Techempower Nightly Builds   Interview transcript Michaela Light 0:02 Welcome back to the show everyone. I'm here with the famous Brad wood of command box lineage. But we're gonna be talking today about programming language speed, because Brad ran a very interesting set of speed tests on a public site, which we're going to look into. And I'm gonna get let the cat out of the bag. ColdFusion did really, really well in the speed comparisons to other languages. But we'll go into the details of that later. If you don't know Brad, not only did he create command box and he's like one of the ninjas autists solutions, but he lives in Kansas on the Kansas City in the Kansas side, not the Missouri side even though he grew up in Missouri, you kind of trade sides. I think Brad Wood 0:48 I came to college here interstate. Michaela Light 0:50 Ah, there you go. And he's been programming cold fusion for 20 years now. So you get the special award for that. Read more   Michaela Light is the host of the CF Alive Podcast and has interviewed more than 100 ColdFusion experts. In each interview, she asks "What Would It Take to make CF more alive this year?" The answers still inspire her to continue to write and interview new speakers. Michaela has been programming in ColdFusion for more than 20 years. She founded TeraTech in 1989. The company specializes in ColdFusion application development, security and optimization. She has also founded the CFUnited Conference and runs the annual State of the CF Union Survey.

NOW PLAYING

120 How is CFML Speed vs Other Languages? (Hint: really fast!), with Brad Wood

0:00 1:17:59

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

LIGHTS, CAMERA, SMILE! Creatives Club Media Lights, Camera, Smile, is a podcast for anyone with a dream to share something with the world, out of the overflow of themselves - be it their mind, their heart, their personalities, and much more. Each of us are alive in this moment in time, with an innate ability to have ideas and create various things to benefit both ourselves and the people around us for a reason, and here, you will find the encouragement, the inspiration, and the motivation to do just that. Hosted by Cicily, founder of Creatives Club, she dives into various topics surrounding creativity and business. Exploring entrepreneurship for creatives in a corporate reality, sharing tips and tricks in a media centered company, answering questions regarding what a creative actually is are just a few of the things discussed on this podcast. Be encouraged to create for yourself as Cicily gets vulnerable by pivoting the camera to herself for the first time.To submit questions for Cicily to answer, or have her address certain t The Bright Wall/Dark Room Podcast Bright Wall/Dark Room A podcast from Bright Wall/Dark Room, engaging with the business of being alive, one movie at a time. Hosted by Veronica Fitzpatrick & Chad Perman. Tao Te Ching by Laozi (Author), Stephen Mitchell (Full Audiobook) Laozi Lao-tzu's Tao Te Ching, or Book of the Way, is the classic manual on the art of living, and one of the wonders of the world. In eighty-one brief chapters, the Tao Te Ching looks at the basic predicament of being alive and gives advice that imparts balance and perspective, a serene and generous spirit. This book is about wisdom in action. It teaches how to work for the good with the effortless skill that comes from being in accord with the Tao (the basic principle of the universe) and applies equally to good government and sexual love; to child rearing, business, and ecology.Stephen Mitchell's bestselling version has been widely acclaimed as a gift to contemporary culture. Joyful Living Quinn Curtis The Joyful Living Podcast is all about finding what makes you COME ALIVE, courageously + wholeheartedly leaning into joie de vivre (the joy of living). Joyful Living isn’t just something we find once we FINALLY lose those 20 pounds, make 6 figures or have a perfect marriage or kids. Joyful Living is a way of being; it’s a daily practice. It’s a way to carpe that diem and lean into the very best that lies within each of us and our lives.Whatever you’re creating in life, whether it’s meaningful relationships, greater overall health, or a soulful business, there is joy. Listen for powerful insights and a loving support network of other brilliant and beautiful souls to cheer you on in leaning into JOY.
URL copied to clipboard!