<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn" -->

---
title: GitHub - vladich/pg_jitter: Better JIT for Postgres
description: pg_jitter is a lightweight JIT compilation provider for PostgreSQL that replaces the default LLVM-based JIT with three faster alternatives: sljit, AsmJit, and...
canonical: https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - vladich/pg_jitter: Better JIT for Postgres | daily.dev
og:description: pg_jitter is a lightweight JIT compilation provider for PostgreSQL that replaces the default LLVM-based JIT with three faster alternatives: sljit, AsmJit, and...
og:url: https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn
og:image: https://api.daily.dev/og/posts/1F5AV3dwN.png
og:image:alt: GitHub - vladich/pg_jitter: Better JIT for Postgres
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - vladich/pg_jitter: Better JIT for Postgres

**[Hacker News](https://daily.dev/sources/hn)** · 8 min read · 3 upvotes · 0 comments

## Summary

pg_jitter is a lightweight JIT compilation provider for PostgreSQL that replaces the default LLVM-based JIT with three faster alternatives: sljit, AsmJit, and MIR. The standard LLVM JIT suffers from slow compilation times (tens to hundreds of milliseconds), making it impractical for OLTP workloads. pg_jitter achieves microsecond-level compilation times, making JIT viable for a much broader range of queries. sljit is the recommended default (5–25% faster than the interpreter, fastest compilation), AsmJit excels on wide-row/deform-heavy queries (up to 32% faster), and MIR offers the best portability. The extension supports PostgreSQL 14–18, requires no LLVM dependency, and allows runtime backend switching without a server restart. Currently beta-quality, it passes all standard Postgres regression tests.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/vladich/pg_jitter>

## Similar posts on daily.dev

- [All Your GUCs in a Row: jit and jit\_provider](https://daily.dev/posts/all-your-gucs-in-a-row-jit-and-jit-provider-miinlt3ue) · Planet PostgreSQL · 0 upvotes · 0 comments
- [All Your GUCs in a Row: jit\_above\_cost, jit\_inline\_above\_cost, and jit\_optimize\_above\_cost](https://daily.dev/posts/all-your-gucs-in-a-row-jit-above-cost-jit-inline-above-cost-and-jit-optimize-above-cost-zqoav78ew) · Planet PostgreSQL · 7 upvotes · 1 comments

---

Tags: [#database](https://daily.dev/tags/database), [#c](https://daily.dev/tags/c), [#postgresql](https://daily.dev/tags/postgresql)

[View this post on daily.dev](https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - vladich/pg_jitter: Better JIT for Postgres","url":"https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn"},"datePublished":"2026-03-04T12:33:38.061Z","dateModified":"2026-03-04T12:34:02.190Z","description":"pg_jitter is a lightweight JIT compilation provider for PostgreSQL that replaces the default LLVM-based JIT with three faster alternatives: sljit, AsmJit, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e33bc03fc7a8231cb9802524e249cb8b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e33bc03fc7a8231cb9802524e249cb8b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github---vladich-pg-jitter-better-jit-for-postgres-1f5av3dwn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"database,c,postgresql","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"GitHub - vladich/pg_jitter: Better JIT for Postgres"}]}
```

