Commit 61686af to fish trunk is a large change that uses posix_spawn (when 
available) for creating new processes. This is exciting stuff, because 
posix_spawn is a big performance win compared to fork / exec. For example, this 
loop:

   for i in (seq 8000)
      /usr/bin/false
   end

now runs 35% faster on OS X, 40% faster on FreeBSD, and 12.5% faster on Linux. 
It also reduces memory usage.

For those of you who like to build from trunk, please keep an eye out for the 
following issues:

- Incorrect or vague error messages
- Weird issues with stopped processes
- Build failures on older or less popular OSes

For regression purposes, you can revert to using fork / exec by setting the 
environment variable fish_use_posix_spawn to 0, and then starting a new shell.

Ideally, the only thing you'll notice is that things are faster!
_fish


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to