{"id":16569523,"url":"https://github.com/higuoxing/pg_slowjit","last_synced_at":"2025-07-30T10:39:00.363Z","repository":{"id":204714345,"uuid":"712485271","full_name":"higuoxing/pg_slowjit","owner":"higuoxing","description":"A simple demo to illustrate how to implement a JIT provider for PostgreSQL.","archived":false,"fork":false,"pushed_at":"2023-11-14T09:22:57.000Z","size":14,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T09:42:17.525Z","etag":null,"topics":["jit","postgresql","postgresql-extension"],"latest_commit_sha":null,"homepage":"https://higuoxing.com/archives/implementing-jit-provider-for-pgsql","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/higuoxing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-31T15:03:31.000Z","updated_at":"2024-11-13T05:57:00.000Z","dependencies_parsed_at":"2023-11-14T10:31:44.133Z","dependency_job_id":"26e3cc6a-a993-4072-9249-8c6add334699","html_url":"https://github.com/higuoxing/pg_slowjit","commit_stats":null,"previous_names":["higuoxing/pg_slowjit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_slowjit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_slowjit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_slowjit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_slowjit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/higuoxing","download_url":"https://codeload.github.com/higuoxing/pg_slowjit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234131135,"owners_count":18784397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jit","postgresql","postgresql-extension"],"created_at":"2024-10-11T21:13:34.972Z","updated_at":"2025-01-16T00:45:08.173Z","avatar_url":"https://github.com/higuoxing.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg_slowjit\n\n\u003e  A simple demo to illustrate how to implement a JIT provider for PostgreSQL. `pg_slowjit` emits C codes and compile them to shared libraries in runtime. This project is inspired by [09 - Query Compilation \u0026 JIT Code Generation (CMU Advanced Databases / Spring 2023)](https://www.youtube.com/watch?v=eurwtUhY5fk).\n\n## What does it support?\n\nCurrently, it only supports jitting a few operators. You can use it to jit the query `SELECT 1;`.\n\n```\npostgres=# EXPLAIN (SETTINGS ON) SELECT 1;\n                                   QUERY PLAN\n---------------------------------------------------------------------------------\n Result  (cost=0.00..0.01 rows=1 width=4)\n Settings: jit_above_cost = '0'\n JIT:\n   Functions: 1\n   Options: Inlining false, Optimization false, Expressions true, Deforming true\n(5 rows)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiguoxing%2Fpg_slowjit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiguoxing%2Fpg_slowjit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiguoxing%2Fpg_slowjit/lists"}