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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:30:23+00:00 2026-05-29T22:30:23+00:00

I use parallel_for from ppl.h and when I run the program from visual studio

  • 0

I use parallel_for from ppl.h and when I run the program from visual studio (2010) both debug and release version they run quite slow compared to running the executable from outside visual studio. Is there some option that I can disable, only in the release version maybe, to run the program faster inside visual studio?

  • 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-29T22:30:23+00:00Added an answer on May 29, 2026 at 10:30 pm

    You can try running the program without the debugger being attached to it. In C++-Mode the shortcut for that is CTRL + F5.

    • If this is still slow, there may be some environment variable that is
      (not) being set when run from Visual Studio but when you run it
      outside of VS.
    • If it’s fast now, then the attached debugger probably slows your application down. If and how this can be improved
      depends on your project type, i.e. programming language, I guess.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 2 servers which have different specifications but they both run the same
use this website a lot but first time posting. My program creates a number
i am trying to use OpenMP in my program (i am newbie using OpenMP)
I'm using the Concurrency Runtime with Visual C++ 2010, and am interested in the
I'm working on a program which reacts to events coming from an internet socket,
I wanted to replace the use of normal threads with the task_group class from
I am trying to use a zip iterator (from either boost or thrust library)
I am refactoring my program to use Parallel.ForEach. Before, when I was using a
use LWP::Simple; use Parallel::ForkManager; @links=( [http://prdownloads.sourceforge.net/sweethome3d/SweetHome3D-2.1-windows.exe,SweetHome3D-2.1-windows.exe], [http://prdownloads.sourceforge.net/sweethome3d/SweetHome3D-2.1-macosx.dmg,SweetHome3D-2.1-macosx.dmg], [http://prdownloads.sourceforge.net/sweethome3d/SweetHome3DViewer-2.1.zip,SweetHome3DViewer-2.1.zip], ); # Max 30 processes for
How does one use multiprocessing to tackle embarrassingly parallel problems ? Embarassingly parallel problems

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.