# David vs Goliath! Comparing Lines of Code
Diet is small. Really small. Having small source code leads to easy maintenance. As you can see below, diet is significantly smaller than any other framework.
Diet is probably the smallest node.js web framework in the history! :P If web frameworks would be countries, diet would be definetely a libertarian utopia with the fewest and most effective policies.
Lower numbers mean smaller source code. The tests were taken with the sloc command line tool.
# Vanilla Node VS Diet
Because frameworks have clear use-cases and specifications, reading, debuging and contributing to projects that have a framework can be developed faster than projects that don't.
A framework also provides better performance because it's optimised and better configured. The chart below demonstrates response time differences (in milliseconds) between "Hello World" apps written in Vanilla Node.js and Diet.
Response Time Comparison
As you can see below, Diet is significantly faster than Vanilla Node.js, simply because it's optimised. Lower numbers mean better performance.
# More coming soon
More tests & benchmarks are coming soon.