Shows relative performance of Hamilton C shell and Cygwinbash running a popular benchmark. The numbers to the left show how many times per second that particular shell was able to run the date utility. The overall run time for each iteration is split between the shell, the operating system and the date utility. Since the operating system's time to create a process is given and the date utility is expected to be quite fast, this benchmark is intended to measure how fast the shell does its part to create processes. The bigger the number the better.
On this particular benchmark, Cygwin's bash averaged 7.2 processes created per second. Hamilton C shell averaged 88.1 per second, about 12x as fast.
The multithreaded C shell "Really fast date loop" example "cheats" by separating the activities into two threads. One thread runs date as fast as possible (presumably, the same 88 times per second), updating a shared variable. The other thread simply reports the latest value as fast as possible. The resulting numbers (around 125,000 per second) are, of course, a little silly; the C shell isn't really 18,000x as fast. The example is simply a reminder that on Windows, processes are more expensive than on Unix, but threads are very cheap and that if the problem lends itself to a multithreaded solution, improvements can be quite dramatic.
System configuration:
Standard 2008 aluminum MacBook
Intel Core 2 Duo @ 2.4GHz
4.0GB RAM
64-bit Windows 7 Ultimate
160GB C: partition, 60% free
Fecha
Fuente
Screenshot from Msnicki's personal MacBook, Oct 17 2010.
Esta obra es libre y puede ser utilizada por cualquiera para cualquier propósito. Si usted desea utilizar este contenido fuera de Wikimedia, no necesitará pedir permiso mientras sigua las condiciones de la licencia explicitadas en esta página.
Wikimedia ha recibido un correo electrónico que confirma que el titular de los derechos de autor ha aprobado la publicación y la reutilización de la obra bajo las condiciones que se mencionan en esta página. La correspondencia ha sido revisada por un miembro de VRT y ha sido guardada en nuestro sistema. El texto de la correspondencia está disponible solo para voluntarios confiables bajo el Ticket #2017012310002162.
Enlace al permiso: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber=2017012310002162 Find other files from the same ticket:
de compartir – de copiar, distribuir y transmitir el trabajo
de remezclar – de adaptar el trabajo
Bajo las siguientes condiciones:
atribución – Debes otorgar el crédito correspondiente, proporcionar un enlace a la licencia e indicar si realizaste algún cambio. Puedes hacerlo de cualquier manera razonable pero no de manera que sugiera que el licenciante te respalda a ti o al uso que hagas del trabajo.
compartir igual – En caso de mezclar, transformar o modificar este trabajo, deberás distribuir el trabajo resultante bajo la misma licencia o una compatible como el original.
== Summary == {{Non-free use rationale |Article = Hamilton C shell |Description = [[Hamilton C shell]] and [[Cygwin]] [[Bash (Unix shell)|bash]] date loop windows under [[Windows 7]]. |Source = Screenshot from [[User:Msnicki|
Leyendas
Añade una explicación corta acerca de lo que representa este archivo