AA
Size: a a a
AA
SK
SK
SK
SK
SK
SK
SK
SK
ŹR
AA
A
ŹR
ŹR
AV
systemd
это должно наблюдаться? там тот же механизм cgroups...RP
docker run -i elixir iexвне докера (ubuntu)
Interactive Elixir (1.10.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> for _ <- 1..100, do: ({a, _} = :timer.tc(fn -> for _ <- 1..10000, do: :erlang.system_time() end); a)
[31721, 28983, 26288, 25473, 26513, 27266, 27454, 27571, 27959, 28072, 27673,
28501, 27598, 27657, 27760, 27731, 28572, 28317, 28576, 27911, 27826, 28023,
27616, 27832, 29121, 28563, 28362, 27988, 28155, 28358, 28067, 28173, 28814,
28497, 28258, 27923, 28107, 28063, 27983, 27936, 28831, 28641, 28582, 28421,
28533, 28320, 28353, 28520, 28533, 27872, ...]
iex
Erlang/OTP 21 [erts-10.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Interactive Elixir (1.9.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> for _ <- 1..100, do: ({a, _} = :timer.tc(fn -> for _ <- 1..10000, do: :erlang.system_time() end); a)
[13120, 12601, 10323, 10300, 9661, 9405, 9472, 9323, 8862, 8585, 8682, 9496,
10001, 8319, 8650, 8226, 8033, 8533, 8268, 8685, 7754, 8128, 7707, 7857, 8154,
8395, 8335, 8026, 7965, 7775, 9008, 9761, 9203, 9026, 8255, 7785, 7713, 8116,
8219, 8178, 8459, 7805, 7826, 7963, 8136, 8373, 8787, 8971, 7966, 8230, ...]
ŹR
ŹR
docker run -i elixir iexвне докера (ubuntu)
Interactive Elixir (1.10.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> for _ <- 1..100, do: ({a, _} = :timer.tc(fn -> for _ <- 1..10000, do: :erlang.system_time() end); a)
[31721, 28983, 26288, 25473, 26513, 27266, 27454, 27571, 27959, 28072, 27673,
28501, 27598, 27657, 27760, 27731, 28572, 28317, 28576, 27911, 27826, 28023,
27616, 27832, 29121, 28563, 28362, 27988, 28155, 28358, 28067, 28173, 28814,
28497, 28258, 27923, 28107, 28063, 27983, 27936, 28831, 28641, 28582, 28421,
28533, 28320, 28353, 28520, 28533, 27872, ...]
iex
Erlang/OTP 21 [erts-10.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Interactive Elixir (1.9.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> for _ <- 1..100, do: ({a, _} = :timer.tc(fn -> for _ <- 1..10000, do: :erlang.system_time() end); a)
[13120, 12601, 10323, 10300, 9661, 9405, 9472, 9323, 8862, 8585, 8682, 9496,
10001, 8319, 8650, 8226, 8033, 8533, 8268, 8685, 7754, 8128, 7707, 7857, 8154,
8395, 8335, 8026, 7965, 7775, 9008, 9761, 9203, 9026, 8255, 7785, 7713, 8116,
8219, 8178, 8459, 7805, 7826, 7963, 8136, 8373, 8787, 8971, 7966, 8230, ...]
SK