You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/02/05 15:18:58 UTC

[arrow-site] branch asf-site updated: Update

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/arrow-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 90021fd  Update
90021fd is described below

commit 90021fd15040a1cb29adb388b629879c47f38a36
Author: Wes McKinney <we...@apache.org>
AuthorDate: Tue Feb 5 09:18:52 2019 -0600

    Update
---
 blog/2019/02/05/python-string-memory-0.12/index.html | 10 +++++-----
 blog/index.html                                      | 10 +++++-----
 feed.xml                                             | 12 ++++++------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/blog/2019/02/05/python-string-memory-0.12/index.html b/blog/2019/02/05/python-string-memory-0.12/index.html
index a0c1548..5e44620 100644
--- a/blog/2019/02/05/python-string-memory-0.12/index.html
+++ b/blog/2019/02/05/python-string-memory-0.12/index.html
@@ -251,12 +251,12 @@ values.</p>
 
 <h2 id="memory-and-performance-benchmarks">Memory and Performance Benchmarks</h2>
 
-<p>We can use the <code class="highlighter-rouge">memory_profiler</code> Python package to easily get process memory
-usage within a running Python application.</p>
+<p>We can use the <a href="https://pypi.org/project/memory-profiler/"><code class="highlighter-rouge">memory_profiler</code></a> Python package to easily get process
+memory usage within a running Python application.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>import memory_profiler
-def mem():
-    return memory_profiler.memory_usage()[0]
+<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="nn">memory_profiler</span>
+<span class="k">def</span> <span class="nf">mem</span><span class="p">():</span>
+    <span class="k">return</span> <span class="n">memory_profiler</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">()[</span><span class="mi">0</span><span class="p">]</span>
 </code></pre></div></div>
 
 <p>In a new application I have:</p>
diff --git a/blog/index.html b/blog/index.html
index b354ea8..5be3af6 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -257,12 +257,12 @@ values.</p>
 
 <h2 id="memory-and-performance-benchmarks">Memory and Performance Benchmarks</h2>
 
-<p>We can use the <code class="highlighter-rouge">memory_profiler</code> Python package to easily get process memory
-usage within a running Python application.</p>
+<p>We can use the <a href="https://pypi.org/project/memory-profiler/"><code class="highlighter-rouge">memory_profiler</code></a> Python package to easily get process
+memory usage within a running Python application.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>import memory_profiler
-def mem():
-    return memory_profiler.memory_usage()[0]
+<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="nn">memory_profiler</span>
+<span class="k">def</span> <span class="nf">mem</span><span class="p">():</span>
+    <span class="k">return</span> <span class="n">memory_profiler</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">()[</span><span class="mi">0</span><span class="p">]</span>
 </code></pre></div></div>
 
 <p>In a new application I have:</p>
diff --git a/feed.xml b/feed.xml
index 142b4e2..db93b08 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.4">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2019-02-05T09:41:44-05:00</updated><id>/feed.xml</id><entry><title type="html">Reducing Python String Memory Use in Apache Arrow 0.12</title><link href="/blog/2019/02/05/python-string-memory-0.12/" rel="alternate" t [...]
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.4">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2019-02-05T10:18:42-05:00</updated><id>/feed.xml</id><entry><title type="html">Reducing Python String Memory Use in Apache Arrow 0.12</title><link href="/blog/2019/02/05/python-string-memory-0.12/" rel="alternate" t [...]
 
 --&gt;
 
@@ -102,12 +102,12 @@ values.&lt;/p&gt;
 
 &lt;h2 id=&quot;memory-and-performance-benchmarks&quot;&gt;Memory and Performance Benchmarks&lt;/h2&gt;
 
-&lt;p&gt;We can use the &lt;code class=&quot;highlighter-rouge&quot;&gt;memory_profiler&lt;/code&gt; Python package to easily get process memory
-usage within a running Python application.&lt;/p&gt;
+&lt;p&gt;We can use the &lt;a href=&quot;https://pypi.org/project/memory-profiler/&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;memory_profiler&lt;/code&gt;&lt;/a&gt; Python package to easily get process
+memory usage within a running Python application.&lt;/p&gt;
 
-&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;import memory_profiler
-def mem():
-    return memory_profiler.memory_usage()[0]
+&lt;div class=&quot;language-python highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;kn&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;memory_profiler&lt;/span&gt;
+&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;mem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;():&lt;/span&gt;
+    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;memory_profiler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;memory_usage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
 &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
 
 &lt;p&gt;In a new application I have:&lt;/p&gt;