a report on web application framework benchmarks and perl's performance

25
YAPC::Asia Tokyo 2014 LT Masahiro Nagano / @kazeburo (translated by @laouji) A Report on Web Framework Benchmarks and Perl’s Performance

Upload: crimson-thompson

Post on 24-May-2015

225 views

Category:

Engineering


3 download

DESCRIPTION

A translation of Masahiro Nagano's lightning talk on Web Framework Benchmarksと Perl の現状報告会 from YAPC::Asia 2014 Original presentation here: http://www.slideshare.net/kazeburo/yapcasia-2014lttfb

TRANSCRIPT

Page 1: A Report on Web Application Framework Benchmarks and Perl's Performance

YAPC::Asia Tokyo 2014 LTMasahiro Nagano / @kazeburo

(translated by @laouji)

A Report on Web Framework Benchmarks

and Perl’s Performance

Page 2: A Report on Web Application Framework Benchmarks and Perl's Performance

TechempowerWeb Framework Benchmarks

• Techempower has been posting it since 2013• 21 languages, 100 web framework benchmarks• Scores are updated every so often. Currently on

Round 9• The source code and benchmark tools are posted on

Github, and anyone can make a pull request to add or update tests for frameworks

Page 3: A Report on Web Application Framework Benchmarks and Perl's Performance

http://www.techempower.com/benchmarks/

Page 4: A Report on Web Application Framework Benchmarks and Perl's Performance

Types of web applications tested

• JSON Serialization• Single Query• Multiple Query• Fortunes• Data Updates• Plaintext

Page 5: A Report on Web Application Framework Benchmarks and Perl's Performance

Run Environments for the Benchmarks

• EC2• Physical Machine– Core i7 2600K– dual-Xeon E5-2660v2

Page 6: A Report on Web Application Framework Benchmarks and Perl's Performance

How Perl is Performing

Page 7: A Report on Web Application Framework Benchmarks and Perl's Performance

How Perl is PerformingCrashing & Burning

Page 8: A Report on Web Application Framework Benchmarks and Perl's Performance
Page 9: A Report on Web Application Framework Benchmarks and Perl's Performance

Not Even Running!!

Page 10: A Report on Web Application Framework Benchmarks and Perl's Performance
Page 11: A Report on Web Application Framework Benchmarks and Perl's Performance

Half of PHP!!1

Page 12: A Report on Web Application Framework Benchmarks and Perl's Performance

Something needs to be done...

Page 13: A Report on Web Application Framework Benchmarks and Perl's Performance

Oh yeah speaking of benchmarks...

Page 14: A Report on Web Application Framework Benchmarks and Perl's Performance

ISUCON4

Page 15: A Report on Web Application Framework Benchmarks and Perl's Performance

BTW

Page 16: A Report on Web Application Framework Benchmarks and Perl's Performance

I won 1st prize last round

Page 17: A Report on Web Application Framework Benchmarks and Perl's Performance

So I got serious

Page 18: A Report on Web Application Framework Benchmarks and Perl's Performance

*using EC2 c3.xlarge

Page 19: A Report on Web Application Framework Benchmarks and Perl's Performance

*using EC2 c3.xlarge

Page 20: A Report on Web Application Framework Benchmarks and Perl's Performance

Here’s what I did

Page 21: A Report on Web Application Framework Benchmarks and Perl's Performance
Page 22: A Report on Web Application Framework Benchmarks and Perl's Performance
Page 23: A Report on Web Application Framework Benchmarks and Perl's Performance

Why Web Framework Benchmarks are important

• Comparing performance between different web application frameworks helps devs pick which framework is most suitable

• A way to showcase optimum settings and code

Page 24: A Report on Web Application Framework Benchmarks and Perl's Performance

So if you make a WAF, make a pull request!

Page 25: A Report on Web Application Framework Benchmarks and Perl's Performance