Re: [racket-dev] file change notifications

2015-02-03 Thread Dan Liebgold
Ah, I wanted to reply to my original email. I was wrong.

There's a cancel event that lasts a long time according to Procmon, but it
seems to last as long as the racket executable is running. I don't think
 it's the source of any performance problem.

So, yeah... carry on, nothing to see here.

Thanks,
Dan


On Mon, Feb 2, 2015 at 11:26 PM, Matthew Flatt mfl...@cs.utah.edu wrote:

 It's good to know that canceling a filesystem-change event can be
 expensive on Windows, in which case they probably shouldn't be used on
 Windows when resolving module paths. I'll investigate more and remove
 the use.

 Meanwhile, there's not a good way to disable the current use in v6.1,
 but the hack

   (unsafe-vector-set! (system-type 'fs-change) 2 #f)

 should work to disable it.


 At Mon, 2 Feb 2015 12:14:12 -0800, Dan Liebgold wrote:
  Hi -
 
  I'm doing a little profiling of Racket 6.1 on windows. It seems like
  cancelling a filesystem-change-evt can take many seconds, and one is
  cancelled for the addon-dir directory (which defaults to my roaming
  profile) during every run. I think it interacts badly with my virus
 checker.
 
  Is there a way to disable this? I'm not using the addon-dir, so any
  notifications shouldn't be important.
 
  Thanks,
  --
  Dan Liebgold[dan.liebg...@gmail.com]
  _
Racket Developers list:
http://lists.racket-lang.org/dev




-- 
Dan Liebgold[dan.liebg...@gmail.com]
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] file change notifications

2015-02-02 Thread Matthew Flatt
It's good to know that canceling a filesystem-change event can be
expensive on Windows, in which case they probably shouldn't be used on
Windows when resolving module paths. I'll investigate more and remove
the use.

Meanwhile, there's not a good way to disable the current use in v6.1,
but the hack

  (unsafe-vector-set! (system-type 'fs-change) 2 #f)

should work to disable it.


At Mon, 2 Feb 2015 12:14:12 -0800, Dan Liebgold wrote:
 Hi -
 
 I'm doing a little profiling of Racket 6.1 on windows. It seems like
 cancelling a filesystem-change-evt can take many seconds, and one is
 cancelled for the addon-dir directory (which defaults to my roaming
 profile) during every run. I think it interacts badly with my virus checker.
 
 Is there a way to disable this? I'm not using the addon-dir, so any
 notifications shouldn't be important.
 
 Thanks,
 -- 
 Dan Liebgold[dan.liebg...@gmail.com]
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev
_
  Racket Developers list:
  http://lists.racket-lang.org/dev