Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive CPU usage #13

Open
reynir opened this issue Sep 27, 2017 · 2 comments
Open

Excessive CPU usage #13

reynir opened this issue Sep 27, 2017 · 2 comments

Comments

@reynir
Copy link
Owner

reynir commented Sep 27, 2017

# #require "core";;
# #doc Core.Hashtbl;;

Above commands hang and doesn't seem to terminate after a few minutes.

@reynir
Copy link
Owner Author

reynir commented Sep 27, 2017

Ok, it terminated after perhaps 5 minutes.

@reynir
Copy link
Owner Author

reynir commented Sep 27, 2017

$ time ocp-index print Core.Hashtbl
Core.Hashtbl module (module Core_kernel__.Core_hashtbl)


real	0m0.885s
user	0m0.753s
sys	0m0.131s
$ time echo '#require "core";;
#doc Core.Hashtbl;;
' | utop
        OCaml version 4.05.0

Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

# 
Core.Hashtbl module (module Core_kernel__.Core_hashtbl)

# #   

real	5m10.582s
user	5m9.717s
sys	0m0.760s

@reynir reynir changed the title Excessive CPU usage (infinite loop?) Excessive CPU usage Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant