We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61bd552 commit 386aa66Copy full SHA for 386aa66
lib/components_guide_web/live/latency_comparison.ex
@@ -148,18 +148,6 @@ defmodule ComponentsGuideWeb.LatencyComparisonLive do
148
Fetch.load!(req)
149
end
150
151
- # redis_timings = Fetch.Timings.start()
152
- # {duration_microseconds, _result} =
153
- # :timer.tc(fn ->
154
- # case Redix.command(:redix_cache, ["GET", "whatever"]) do
155
- # {:ok, value} -> value
156
- # _ -> nil
157
- # end
158
- # end)
159
- # redis_timings = Fetch.Timings.finish(redis_timings)
160
- # redis_res = Fetch.Response.new("redis:") |> Fetch.Response.add_timings(redis_timings)
161
- # responses = [redis_res | responses]
162
-
163
state =
164
socket.assigns.state
165
|> State.add_responses(responses)
0 commit comments