krisbug/bugforth
2
4
Fork
You've already forked bugforth
1

Optimize performance #16

Open
opened 2026年04月26日 20:32:28 +02:00 by krisbug · 1 comment

The ITC C architecture is currently on par if not slower than bytecode. Would be nice if it ran at least twice as fast.

The ITC C architecture is currently on par if not slower than bytecode. Would be nice if it ran at least twice as fast.
Author
Owner
Copy link

BugForth (C POSIX, b34c1b8) vs GForth 0.7.9_20260513 benchmark results

fib.fs

gforth-fast: 0,067s
gforth: 0,192s
gforth-itc: 0,352s
bugforth (C POSIX): 0,810s

bubble-sort.fs

gforth-fast: 0,055
gforth: 0,230s
gforth-itc: 0,280s
bugforth (C POSIX): 2,850s

sieve.fs

gforth-fast: 0,055s
gforth: 0,163s
gforth-itc: 0,234s
bugforth (C POSIX): 0,950s

matrix-mult.fs

gforth-fast: 0,041s
gforth: 0,096s
gforth-itc: 0,180s
bugforth (C POSIX): 1,020s

Conclusion

Things are looking BAD when it comes to performance

BugForth (C POSIX, b34c1b8) vs GForth 0.7.9_20260513 benchmark results ### fib.fs gforth-fast: 0,067s gforth: 0,192s gforth-itc: 0,352s bugforth (C POSIX): 0,810s ### bubble-sort.fs gforth-fast: 0,055 gforth: 0,230s gforth-itc: 0,280s bugforth (C POSIX): 2,850s ### sieve.fs gforth-fast: 0,055s gforth: 0,163s gforth-itc: 0,234s bugforth (C POSIX): 0,950s ### matrix-mult.fs gforth-fast: 0,041s gforth: 0,096s gforth-itc: 0,180s bugforth (C POSIX): 1,020s ### Conclusion Things are looking BAD when it comes to performance
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
krisbug/bugforth#16
Reference in a new issue
krisbug/bugforth
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?