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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:50:53+00:00 2026-05-23T23:50:53+00:00

When a user loads a project file into my application it can take a

  • 0

When a user loads a project file into my application it can take a long time – several 10’s of seconds. I understand the concept of using a background thread to process something that blocks the UI. However, in this case, there is nothing for the user to do – they are waiting for the project file to load – other than watch the progress messages.

I am looking at parceling out the processing of different project elements among different threads. However I am not at all clear if this would really make a worthwhile difference. Some project elements do consume a lot more time in being created but generally the complex ones are few in number and the simple ones are large in number. Processing involves creating some drawing code so that the element can be displayed on a canvas.

I understand the concept of time slicing between threads but as far as I can see the total time taken is not changed and there could be some overhead in using threads.

I also understand that for multi core processors then some true concurrency could take place if the threads are distributed between processors (sorry I do not know enough about threading to know if this the correct description). I don’t know if this is easy to arrange. Clearly it would not help a user with a single core processor.

Changing the code to try it out is not a trivial task so I would take your views on whether this is worth trying.

Thanks.

  • 1 1 Answer
  • 1 View
  • 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-23T23:50:55+00:00Added an answer on May 23, 2026 at 11:50 pm

    As a rule, multithreading a loading process will not save time, because often the process requires things to be done in a certain order, later aspects cannot be processed until previous ones have done. It very much depends on your actual loading process. It may also be the case that the loading is taking time because of core .net processes. In either of these cases, threading will not make a significant difference.

    What you have to consider is whether there are significant parts of the task that are obviously unconnected to each other. Only in this case will it possibly be faster, but you will only then take the speed of the faster process out of the time. And by adding in threading to any significant degree there is a real chance that you will slow the processing down, becasue there is a cost to this code.

    You would possibly do better to consider if you can lazy load some aspects of the project – anything that may not be always required at the start might be a possibility for deferring. Or even, depending on the processing structure, whether you can return control to the user before completing the load, which continues in the background. This does not make it any quicker, but does give the impression of being quicker.

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

Sidebar

Related Questions

My company produces a cross-platform server application which loads its configuration from user-editable configuration
As a personal project, I'm making an AJAX chatroom application using XML as a
The program I am writing can edit a single project at a time. This
I created a pretty basic Django project using django-admin and I'm now running into
The behavior I propose: A user loads up my search page, www.site.com/search, types their
Is it possible to display a custom loading message when a user loads a
I have a UserControl ('AddressInfoGroup') within an updatepanel that dynamically loads user controls ('AddressInfo')
I have a function that loads a user object from a web service asynchronously.
I have the following code that loads a user's Active Directory DirectoryEntry object from
I have written a simple jQuery.ajax function which loads a user control from the

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.