<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Shortcuts</title>
    <link rel="self" type="application/atom+xml" href="https://links.rknight.me/guest/tags/16/feed"/>
    <updated>2026-05-04T08:36:54+00:00</updated>
    <id>https://links.rknight.me/guest/tags/16/feed</id>
            <entry>
            <id>https://links.rknight.me/links/12</id>
            <title type="text"><![CDATA[How to Improve Performance When Querying Apple Health Samples in Shortcuts]]></title>
            <link rel="alternate" href="https://www.iwader.co.uk/posts/2023/11/improve-performance-when-querying-apple-health-samples-in-shortcuts/" />
            <link rel="via" type="application/atom+xml" href="https://links.rknight.me/links/12"/>
            <author>
                <name> <![CDATA[robb]]></name>
            </author>
            <summary type="text">
                <![CDATA[My [home page](/) has a couple of sections which display my health and activity data. This is powered by a Shortcut that runs on my iPhone every day at 9am. I query data from Apple Health, and then trigger a deployment via GitHub actions.
This was working well, until I started exercising a lot more during the summer months. The Shortcut was taking longer and longer to run, and before long started hitting many problems. Over time, it got slower and slower, sometimes running from 9am and into the afternoon. This was destroying my phone's battery and making the device hot for long periods. Eventually, it ended up throwing an error most days.]]>
            </summary>
            <updated>2023-11-26T14:34:51+00:00</updated>
        </entry>
    </feed>
