Note that there are some explanatory texts on larger screens.

plurals
  1. POUnix sort command takes much longer depending on where it is executed?! (fastest from ProcessBuilder in program run from IDE, slowest from terminal)
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. COwow .. I think I saw someone else ask this same question yesterday. http://stackoverflow.com/questions/7111127/why-is-my-application-running-faster-in-intellij-compared-to-command-line
      singulars
    2. CODo you know that you are running the same sort? Try an absolute path to the executable to be sure. If you have brew/macports/fink installed, it is possible that the sort from those packages are being run when it's slower.
      singulars
    3. CO@Zugwalt : how 'wide' is each record, or put another way, how big is the overall file you are sorting. 500,000 of a normal record in 1 second sounds right for the the Unix systems I'm used to working on. 20 seconds seems insane. The sort will build its temp files in /tmp or /var/tmp dir (unless you are overriding it with `-D`). Maybe you can pickup a clue there by watching the processing. Otherwise, I'm thinking problems with disks, is your IDE writing tmpfiles to a different place than the standard /tmp/ or /var/tmp? Good luck.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload