List for cgit developers and users
 help / color / mirror / Atom feed
From: Jason at (Jason A. Donenfeld)
Subject: [PATCH] native inline gravatar
Date: Wed, 4 Jul 2018 02:14:57 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Wed, Jul 4, 2018 at 2:01 AM Andy Green <andy at> wrote:
> doesn't use any filters for syntax highlight and markdown render, it's
> all done in clientside JS.  The gravatar is done using this patch.

If you're into doing things clientside, you could do gravatar
clientside too of course...

> This of course is a big performance win on the server since no
> subprocesses spawned at all.  Even on large files on an Android tablet,
> it's quick.

It's worth noting that Lua does not spawn sub processes, so if you do
rendering from Lua, you're in good shape.

However, there are indeed advantages -- such as bandwidth -- to doing
this all clientside.

> OpenSSL is accelerated for some things on some architectures, it's true.
>   If that was the actual problem that can be ported as a special case of
> x86_64.

We're not going to start copy and pasting OpenSSL into cgit to
superoptimize our own MD5 implementation...

  reply	other threads:[~2018-07-04  0:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-01  3:20 andy
2018-07-03 23:49 ` Jason
2018-07-04  0:00   ` andy
2018-07-04  0:14     ` Jason [this message]
2018-07-04  0:28       ` andy
2018-07-04  0:34         ` Jason
2018-07-04  0:44           ` andy
2018-07-04  1:05             ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).