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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:54:09+00:00 2026-05-28T20:54:09+00:00

Is it possible to time profile a Haskell program without installing the profiling libraries?

  • 0

Is it possible to time profile a Haskell program without installing the profiling libraries?

When I pass the -prof option to ghc, I always get errors like this one:

src/MyPKG/FooBlah.lhs:7:7:
    Could not find module `Data.Time.Calendar':
      Perhaps you haven't installed the profiling libraries for package `time-1.1.4'?
      Use -v to see a list of the files searched for.

I know that the solution is to install with cabal profile versions of the libraries, but sometimes this is a pain in the ass (sorry for the bad language).

I think it should be possible to profile my program and the calls that have no symbols should appear as ???? or something like that in the output.

  • 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-28T20:54:10+00:00Added an answer on May 28, 2026 at 8:54 pm

    No, it’s not possible. Building for profiling changes the representation and function calls have extra parameters to keep track of the profiling data.

    You have to install the profiling libraries to use GHC’s profiler, even if it’s a pain in the rear.

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

Sidebar

Related Questions

Possible Duplicate: How to profile and and get Javascript performance I have a page
I need to find a bottleneck and need to accurately as possible measure time.
Anyone know if it possible at run-time to know how many pixels high an
Possible Duplicate: How can I specify the latest time of day with DateTime I
Possible Duplicate: Calling Python from Objective-C I'm a long-time Python programmer and short-time Cocoa
Possible Duplicate: how to hide a div after some time period? i need to
first time use JTree. Just wondering is it possible to have more than one
Is is possible to print the execution time of a shell command with following
Is it possible to use DateTimePicker (Winforms) to pick both date and time (in
Is it possible to sleep for an amount of time that will be accurate

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.