Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/concurrency/Paper.tex

    rbd47f35 r016b1eb  
    450450\hline
    451451stateful                        & thread        & \multicolumn{1}{c|}{No} & \multicolumn{1}{c}{Yes} \\
    452 \hline
    453 \hline
     452\hline   
     453\hline   
    454454No                                      & No            & \textbf{1}\ \ \ @struct@                              & \textbf{2}\ \ \ @mutex@ @struct@              \\
    455 \hline
     455\hline   
    456456Yes (stackless)         & No            & \textbf{3}\ \ \ @generator@                   & \textbf{4}\ \ \ @mutex@ @generator@   \\
    457 \hline
     457\hline   
    458458Yes (stackful)          & No            & \textbf{5}\ \ \ @coroutine@                   & \textbf{6}\ \ \ @mutex@ @coroutine@   \\
    459 \hline
     459\hline   
    460460No                                      & Yes           & \textbf{7}\ \ \ {\color{red}rejected} & \textbf{8}\ \ \ {\color{red}rejected} \\
    461 \hline
     461\hline   
    462462Yes (stackless)         & Yes           & \textbf{9}\ \ \ {\color{red}rejected} & \textbf{10}\ \ \ {\color{red}rejected} \\
    463 \hline
     463\hline   
    464464Yes (stackful)          & Yes           & \textbf{11}\ \ \ @thread@                             & \textbf{12}\ \ @mutex@ @thread@               \\
    465465\end{tabular}
     
    30423042Rust tokio thread               & 1860.0        & 1881.1        & 37.6          \\
    30433043Rust thread                             & 53801.0       & 53896.8       & 274.9         \\
    3044 Java thread (   10 000)         & 119256.0      & 119679.2      & 2244.0        \\
    3045 Java thread (1 000 000)         & 123100.0      & 123052.5      & 751.6         \\
     3044Java thread                             & 120274.0      & 120722.9      & 2356.7        \\
    30463045Pthreads thread                 & 31465.5       & 31419.5       & 140.4
    30473046\end{tabular}
     
    30983097\uC @signal@ monitor            & 328.3         & 327.4         & 2.4           \\
    30993098Rust cond. variable                     & 7514.0        & 7437.4        & 397.2         \\
    3100 Java @notify@ monitor (  1 000 000)             & 8717.0        & 8774.1        & 471.8         \\
    3101 Java @notify@ monitor (100 000 000)             & 8634.0        & 8683.5        & 330.5         \\
     3099Java @notify@ monitor           & 9623.0        & 9654.6        & 236.2         \\
    31023100Pthreads cond. variable         & 5553.7        & 5576.1        & 345.6
    31033101\end{tabular}
     
    31833181Goroutine mutex lock                    & 34.0  & 34.0  & 0.0   \\
    31843182Rust mutex lock                                 & 33.0  & 33.2  & 0.8   \\
    3185 Java synchronized method (   100 000 000)               & 31.0  & 30.9  & 0.5   \\
    3186 Java synchronized method (10 000 000 000)               & 31.0 & 30.2 & 0.9 \\
     3183Java synchronized method                & 31.0  & 31.0  & 0.0   \\
    31873184Pthreads mutex Lock                             & 31.0  & 31.1  & 0.4
    31883185\end{tabular}
     
    32043201% To: "Peter A. Buhr" <pabuhr@plg2.cs.uwaterloo.ca>
    32053202% Date: Fri, 24 Jan 2020 13:49:18 -0500
    3206 %
     3203% 
    32073204% I can also verify that the previous version, which just tied a bunch of promises together, *does not* go back to the
    32083205% event loop at all in the current version of Node. Presumably they're taking advantage of the fact that the ordering of
     
    32513248Rust tokio thread       & 143.0         & 143.0         & 1.7   \\
    32523249Rust thread                     & 332.0         & 331.4         & 2.4   \\
    3253 Java thread     (      100 000)         & 405.0         & 415.0         & 17.6  \\
    3254 Java thread (  100 000 000)                     & 413.0 & 414.2 & 6.2 \\
    3255 Java thread (5 000 000 000)                     & 415.0 & 415.2 & 6.1 \\
     3250Java thread                     & 405.0         & 415.0         & 17.6  \\
    32563251Pthreads thread         & 334.3         & 335.2         & 3.9
    32573252\end{tabular}
Note: See TracChangeset for help on using the changeset viewer.