Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4035536
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:06:38+00:00 2026-05-20T12:06:38+00:00

I was wondering what the performance difference is between using plain python files to

  • 0

I was wondering what the performance difference is between using plain python files to make web pages and using Django. I was just wondering if there was a significant difference between the two. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:06:39+00:00Added an answer on May 20, 2026 at 12:06 pm

    Django IS plain Python. So the execution time of each like statement or expression will be the same. What needs to be understood, is that many many components are put together to offer several advantages when developing for the web:

    • Removal of common tasks into libraries (auth, data access, templating, routing)
    • Correctness of algorithms (cookies/sessions, crypto)
    • Decreased custom code (due to libraries) which directly influences bug count, dev time etc
    • Following conventions leads to improved team work, and the ability to understand code
    • Plug-ability; Create or find new functionality blocks that can be used with minimal integration cost
    • Documentation and help; many people understand the tech and are able to help (StackOverflow?)

    Now, if you were to write your own site from scratch, you’d need to implement at least several components yourself. You also lose most of the above benefits unless you spend an extraordinary amount of time developing your site. Django, and other web frameworks for every other language, are designed to provide the common stuff, and let you get straight to work on business requirements.

    If you ever banged out custom session code and data access code in PHP before the rise of web frameworks, you won’t even think of the performance cost associated with a framework that makes your job interesting and eas(y)ier.

    Now, that said, Django ships with a LOT of components. It is designed in such a way that most of the time, they won’t affect you. Still, a surprising amount of code is executed for each request. If you build out a site with Django, and the performance just doesn’t cut it, you can feel free to remove all the bits you don’t need. Or, you can use a ‘slim’ python framework.

    Really, just use Django. It is quite awesome. It powers many sites millions times larger than anything you (or I) will build. There are ways to improve performance significantly, like utilizing caching, rather than optimizing a loop over custom Middleware.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if there were any performance implications between using TPL TaskFactory.FromAsync and
I was wondering if there is any difference in performance/memory use between movieclip symbol
I was wondering what were the hidden performance implications of using the Database object
When considering using performance counters as my companies' .NET based site, I was wondering
I was wondering if there is any concurrency (now or future), or performance benefit
Wondering if anybody out there has any success in using the JDEdwards XMLInterop functionality.
I just had an interesting exchange about using .Except versus .Any, and the performance
I am wondering: what is the best instruction in terms of performance between those
I've been wondering about the performance improvements touted in Java SE 6 - is
Wondering if there is any Text to Speech software available as a plug in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.