This function is rather peculiar. It is easy to establish the following:
$$f(x) =\sum_{k=0}^\infty (-1)^k A_{2k+1} \cdot x^{2k+1}, \mbox{ with } A_k=\Big(1-\frac{1}{2^{k}} + \frac{1}{3^{k}}- \frac{1}{4^{k}}+\cdots\Big).$$
Note that $A(1)=\log 2$, and for $k>1$, we have
$$A(k)= \Big(1-\frac{1}{2^{k-1}}\Big)\zeta(k)$$
where $\zeta$ is the Riemann Zeta function. Also, $f(-x) = - f(x)$ and we have the following approximation when $x$ is large, using a value of $K$ such that $x/K < 0.01$:
$$f(x) \approx \sum_{k=1}^K (-1)^{k+1}\sin \Big(\frac{x}{k}\Big) - x\cdot\sum_{k=K+1}^\infty \frac{(-1)^{k}}{k}$$
The function is smooth but exhibits infinitely many roots, maxima and minima. I am in particular interested in the following quantity:
$$g(x) = \sup_{0\leq y\leq x}f(y).$$
What is the growth rate for $g(x)$? Is it linear, sub-linear, or super-linear? Another question of interest is the average spacing between two roots or two extrema.
Below are two plots of $f(x)$, the first one for $0\leq x\leq 200$, the second one for $0\leq x\leq 2000$.
Addendum: Failed attempt to solve this
I used the Euler-Maclaurin summation formula to get a good approximation for $f(x)$ when $x$ is large, and this leads to
$$f(x) \approx \int_1^\infty \Big(\sin\frac{x}{2u} - \sin\frac{x}{2u+1}\Big) du.$$
A closed form for this integral exists, involving the cosine integral, see WolframAlpha here. Lots of asymptotic formulas are available (see here) but when I apply them, I end up with $f(x)$ being bounded, which is very clearly not the case based on my observations.
As an illustration, below is the computation of $f(x)$ for $x = 52,000,001$. The first chart shows $f(x)$ based on the first $n=2000$ terms in the series. Here the X-axis represents $n$, and the Y-axis represents $f(x)$ for the particular value of $x$ in question, when using a growing number of terms. In the second chart, $n$ goes to $200,000$. Stability is reached after adding about $4,100$ terms, and oscillations are slowly dampening then.
One promising approach is this. Let
$$ f_k(x)=\sum_{i=1}^k (-1)^{i+1}\sin \Big(\frac{x}{i}\Big) .$$ Define $h_k(x) =\frac{1}{2}(f_k(x) + f_{k-1}(x))$.Then $f(x) = \lim_{k\rightarrow\infty} h_k(x)$. The iterates $h_k$'s are much smoother than the $f_k$'s, and convergence is much faster.