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 4599422
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:32:19+00:00 2026-05-21T23:32:19+00:00

So I recently made some changes to one of my tableviews and I noticed

  • 0

So I recently made some changes to one of my tableviews and I noticed that when the cells are being reloaded (coming back onto the screen one way or another) there is like a quarter to half second lag. I decided I’d use xcode 4’s nice built in profiler. What I found is that during these spikes, most of the time running is being spent in gzopen and png_read_filter_row

I traced these functions in the call tree viwer all the way back to main, and it is never in any of my real code. The only questionable thing I am doing is small image files (1 per cell) each time cellForRowAtIndexPath is called.

I guess my question is this:

  1. Is the file i/o that slow so that I should switch to caching these images in memory rather than on the file system?
  2. How can I figure out what exactly it is thats slowing down my application so much using the profiling tool?

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-21T23:32:19+00:00Added an answer on May 21, 2026 at 11:32 pm
    1. Can you load the images asynchronously – show a spinner where the image goes and fire off a background thread to display the image. This is a common solution to the “thumbnail image in a table row” problem.

    2. I think you already have used the profiling tool to track down the problem: loading images. Admittedly, I am no expert on the profiler, but I think you know what you need to know. So implement your table a) without images b) with images loaded from files c) with images loaded asynchrously and stick with the fastest one. (I’m not trying to be glib, I’m just highly prejudiced toward getting the code out the door.)

    Hope this helps.
    -Mike

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

Sidebar

Related Questions

I have recently made changes in some code that makes a char name field
In a game that I mod for they recently made some changes which broke
I have recently made some changes to one of the subs within a form
I'm working on a site that is using Facebook Connect and recently made some
I released an update to one of my apps recently. This update made some
I recently made some changes to my development environment and came across a problem.
I recently made some changes to a working publication under Merge replication which seem
I recently made some changes to my MVC 3 project. When I run it,
I have recently made some changes to my hosting account and a script I
I have an iPhone app that is using CoreData. I recently made some minor

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.