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

  • SEARCH
  • Home
  • 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 6669441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:09:01+00:00 2026-05-26T03:09:01+00:00

my apps views are taking anywhere from 800-2000ms to load according to the logs.

  • 0

my apps views are taking anywhere from 800-2000ms to load according to the logs.

I noticed for a page w/o accessing current_user the time is under 10ms… Anytime current_user is accessed it takes 400ms just to get current_user.

Any ideas why it is taking so long to get the current_user? Any way to track down where the lag is in performance?

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-26T03:09:02+00:00Added an answer on May 26, 2026 at 3:09 am

    The logs should show you the database times as well as the render times. See if they track. i.e. high render times always implies a high database time.

    There are various ways to profile rails if it is not a database issue.

    The Railscasts #98 Request Profiling episode is old but it is a sample of what Rails has already built in for such questions.

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

Sidebar

Related Questions

Many apps already in App Store has ability to print from iphone without installing
I have the following function in many views of many of my apps. Like
Having made a few iOS apps, I'm now taking my first steps in building
I'm having several complex views/apps that all together form one big app. Think of
I'm using chcsvparser to parse data from a csv file on my apps launch.
I have 3 alert views in my apps. 'wonAlert' 'lostAlert' 'nagAlert' I implement this
I've seen examples of overlay views in different iPhone apps (Skype, Phone.app (while making
As title, how can I change default view without placing home.ctp in apps/views/pages/ folder?
I am writing a VirtualPathProvider to dynamically load my MVC views, which are located
I want to display an activity chooser that shows all apps that can VIEW

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.