Add profiling support to Melange. By assigning profile_main_as_logs or profile_main_as_html to main variable you can turn on profiling. profile_main_as_logs will log profile data to App Engine console logs, profile_main_as_html will show profile data as html at the bottom of the page. If you want to profile app on deployed app just set the profiling function and deploy it.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
# Please sort this file in alphabetical order by last (given) name.
# Please only include one name per line. If an (optional) email address is
# included, it must be RFC 2821 compliant (properly quoted, escaped, etc.).
# Lines beginning with # can be stripped from the file, as can blank lines.
"Madhusudan.C.S" <madhusudancs@gmail.com>
"Mario Ferraro" <fadinlight@gmail.com>
"Todd Larsen" <tlarsen@google.com>
"Chen Lunpeng" <forever.clp@gmail.com>
"Sverre Rabbelier" <sverre@rabbelier.nl>
"Lennard de Rijk" <ljvderijk@gmail.com>
"Pawel Solyga" <pawel.solyga@gmail.com>