gjtorikian / jekyll-last-modified-at

A Jekyll plugin to show the last_modified_at time of a post.
MIT License
243 stars 39 forks source link

Use POSIX::Spawn? #30

Closed parkr closed 9 years ago

parkr commented 9 years ago

In tmm1's talk at Ruby Kaigi, he talked about the inception of the posix-spawn gem as a much faster way to shell out to a subprocess, because it doesn't copy the memory of the current process. Not sure if Open3 already has the optimization, but posix-spawn might offer some performance gain.

gjtorikian commented 9 years ago

It's definitely worth trying out. Right now this plugin adds ten seconds (!) to a set with about 300 collections, so any speedup is worth it.

parkr commented 9 years ago

I'll dig into it tomorrow or monday!

parkr commented 9 years ago

Fixed by #31