GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — General Refactor by TheRustifyer · Pull Request #72 · zerodaycode/Canyon-SQL

Conversation

@TheRustifyer

@TheRustifyer TheRustifyer commented May 1, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

✅ Legitimate Performance Improvements (likely contributors):

Singleton Initialization:

  • Canyon::init() now runs once and reuses the global instance.

  • Previous versions may have re-initialized the configuration and connections on every test (especially if instance() panicked and tests had to restart initialization).

  • This new OnceLock approach means fewer file reads, fewer TOML parses, and fewer Runtime::new() calls.

Avoiding Re-parsing the config file:

  • We’re no longer scanning directories and reloading/parsing the config in each test.

  • This is a huge win if your config file is large or complex.

Connection Caching:

  • DatabaseConnection::new() is now called only once per datasource.
  • Previously, each test might have created fresh connections or runtimes.

Tokio Runtime Reuse:

  • Creating and dropping a Runtime is expensive. Now you’re reusing a single one.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
TheRustifyer added 30 commits January 26, 2025 11:35
@TheRustifyer
feat: getting rid of the implementation indirections of Transaction i…
c122380
…nput, avoiding storing intermediate state
@TheRustifyer
feat: The DbConnection trait now is able to tell the client which is …
dfe226e
…the underlying db type for the connection
@TheRustifyer
test: re-enabled the integration tests of the SelectQuerybuilder
11e8bf5
@TheRustifyer
feat: re-enabled the insert and delelte operations
b9c1046
@TheRustifyer
test: unit testing the generated tokens for the delete operations macros
0edef47
@TheRustifyer
test: unit testing the generated tokens for the delete with the query…
e330462
…builder operations macros
@TheRustifyer
feat: re-enabled the update operations
c386ef2
@TheRustifyer
feat: re-enabled the multi-insert operations
03ba49a
@TheRustifyer
feat: re-enabled the foreign key operations
a19bc4a
@TheRustifyer
feat: proc-macro hygiene on the implementation of the crud operations
e70a9ca
@TheRustifyer
feat: querybuilder read ops are hidden behind the same facade as the …
088aba1
…other read ops
@TheRustifyer
chore: refactored the CanyonMapper macro into it's own file
b19001d
@TheRustifyer
chore: handle_stupid_tiberius_sql_conversions
381a974
@TheRustifyer
chore: moving proc macro implementations from the root lib file of ca…
8b775e9
…nyon_macros to their own separate modules
@TheRustifyer
chore: moving DbConnection to db_connector::
6b43556
@TheRustifyer
feat: removed #[async_trait] from all the codebase in favour of the i…
dc50e8d
…mpl Future
@TheRustifyer
fix: update pk operations
1510a7f
chore: getting concrete column value from row on CanyonRows
@TheRustifyer
feat: impl of single row result operations
b2f0d1b
@TheRustifyer
feat: renamed DbConnection::launch(self, ...) to DbConnection::query(…
ac5b1ca
…self, ...)
@TheRustifyer
feat: query_one to the public interface of Transaction
8ed4e67
@TheRustifyer
feat(wip): query_rows impl as the future replacement for the CanyonRo…
92d8d1c
…ws wrapper
@TheRustifyer
feat(wip): reworking the new Transaction::query lifetime and type bounds
042a234
@TheRustifyer
feat(wip): only postgres understand relaxing lifetime bounds
c1bfafb
@TheRustifyer
feat(wip): re-enabling mysql queries
67613a3
@TheRustifyer
feat(wip): re-enabling sqlserver on query
4fbd755
@TheRustifyer
feat(wip): re-enabling all the read operations
9d0739a
@TheRustifyer
feat(wip): re-enabling all the insert operations
c2080c1
@TheRustifyer
feat(wip): re-enabling all the fk operations
1e2ec15
@TheRustifyer
feat: using the execute new op on the update to return the affected r…
c95bd1f
…ows after the operation
@TheRustifyer
feat: re-enabled all the crud operations again
1059df6
TheRustifyer added 13 commits July 29, 2026 13:35
@TheRustifyer
fix: find_by_primary_key entity operations was retrieving wrong table…
7ebe97c
… name
@TheRustifyer
fix: find_by_primary_key entity operations was retrieving wrong table…
009eef8
… name
@TheRustifyer
chore: cleaning Inspectionable (changed to EntityRuntimeInfo)
c8851f9
@TheRustifyer
chore: cleaning legacy placeholders generators code
c306ca4
@TheRustifyer
chore: DRY for the default db conn init
4dddfe1
@TheRustifyer
feat: Delete entity operations are now constructed with the QueryBuilder
c0d833c
@TheRustifyer
chore: docs for the Querybuilder types
be6c725
@TheRustifyer
chore: more regular code cleanup
2dd6dff
@TheRustifyer
fix: obsolete querybuilder tests
1c4e975
@TheRustifyer
chore: obsolete code cleanup
947b1c8
@TheRustifyer
chore: more code cleanup
7ef27c4
@TheRustifyer
fix: MySql DB client implementation
d4333fb
@TheRustifyer
chore: disabled and removed the Integrated auth of MsSql due to the a…
dfdf704
…nnoying coupling with the gssapi headers
@TheRustifyer
TheRustifyer force-pushed the refactor/GH-65-general-refactor branch from 2fe0353 to dfdf704 Compare August 3, 2026 14:10
TheRustifyer added 14 commits August 4, 2026 09:14
@TheRustifyer
chore: removed the gssapi installation on upstream
fe5ed6f
@TheRustifyer
fix: corrected intra-links docs
bd14b24
@TheRustifyer
feat(wip)!: splitting CRUD into more granular macros
f1bd864
@TheRustifyer
feat(wip)!: canyon macros getting even more granular
d9b3569
@TheRustifyer
feat: Canyon big refactor finally completed
23e5223
@TheRustifyer
fix: broken intra-doc link
dee296b
@TheRustifyer
feat: redone the FromSql and FromSqlOwned trait bounds
7182e3a
@TheRustifyer
chore(WIP)!: redone the querybuilder constructors to make them compil…
d51b60a
…e time const
@TheRustifyer
chore: refactoring query querybuilder inits
1384ae3
@TheRustifyer
chore: removed cfg-if
21ed1c4
@TheRustifyer
chore: fine-tuning the migrations feature for more granular control
40604e3
@TheRustifyer
fix: querybuilder operations was missing the correct db type for some…
0fb08f0
… operations
@TheRustifyer
fix: correcting the dependency graph for canyon migrations - migratio…
919c5ba
…ns feature
@TheRustifyer
chore: cleanup
bcf6a4c
@TheRustifyer
TheRustifyer merged commit 71c7951 into main Aug 7, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@TheRustifyer
TheRustifyer deleted the refactor/GH-65-general-refactor branch August 7, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gbm25 gbm25 Awaiting requested review from gbm25 gbm25 is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@TheRustifyer TheRustifyer

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

General refactor

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@TheRustifyer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.