Ir al contenido

Archivo:Hamilton C shell and Cygwin bash date loops.png

Contenido de la página no disponible en otros idiomas.
De Wikipedia, la enciclopedia libre

Ver la imagen en su resolución original(1280 × 800 píxeles; tamaño de archivo: 415 kB; tipo MIME: image/png)

Resumen

Descripción

Hamilton C shell and Cygwin bash date loop windows under Windows 7.

Shows relative performance of Hamilton C shell and Cygwin bash 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.
Autor Msnicki
Permiso
(Reutilización de este archivo)
VRT Wikimedia

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: SDC query (SPARQL)

Licencia

w:es:Creative Commons
atribución compartir igual
Este archivo se encuentra bajo la licencia Creative Commons Genérica de Atribución/Compartir-Igual 3.0.
Eres libre:
  • 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.

Registro original de carga

Aquí se muestra la página de descripción original. Los siguientes nombres de usuario se refieren a en.wikipedia.
Fecha y hora Dimensiones Usuario Comentario
2010-10-17 22:01:28 1280 × 800 Msnicki == 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

Elementos representados en este archivo

representa a

Historial del archivo

Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.

Fecha y horaMiniaturaDimensionesUsuarioComentario
actual22:40 21 mar 2017Miniatura de la versión del 22:40 21 mar 20171280 × 800 (415 kB)FastilyCloneTransferred from en.wikipedia (MTC!)

La siguiente página usa este archivo:

Uso global del archivo

Las wikis siguientes utilizan este archivo:

Metadatos