Web-frameworks: [F#] Add frank

Created on 4 Jun 2020  路  14Comments  路  Source: the-benchmarker/web-frameworks

Hi @panesofglass,

Would you mind to add (or consent that we add) frank in here ?

This project compare performance based on 3 routes :

  • GET /, SHOULD return a successful status code and an empty string
  • GET /user/:id, SHOULD return a successful status code and the id
  • POST /user, SHOULD return a successful status code and an empty string

Regards,

fsharp

All 14 comments

I'd be delighted to add it. I'll submit a PR tonight. Thank you!

@waghanza you should also reach out to @dustinmoris for Giraffe, @Krzysztof-Cieslak for Saturn, and @pimbrouwers for Falco to fill out the F# space.

I'm happy to do a PR for this. I'm fairly familiar with these tests, but is there a requirements doc I can follow?

@pimbrouwers looks like it is simply three handlers. You should be able to follow the Suave example.

My apologies. I thought these were the tech empower benchmarks.

This should be dead simple. I'll PR tomorrow morning.

@pimbrouwers I may just include a sample for each in my PR. I don鈥檛 think this would be challenging. Saturn may be slightly tougher, but I doubt it.

@granicz or @Tarmil, want to take a crack at adding a WebSharper option?

@granicz and @Tarmil, I included a sample in my PR #2874

To keep code consistent, between F# frameworks, I want to use a formatter. What do you think of https://github.com/fsprojects/fantomas-tools ?

That's fantastic! I think you want https://github.com/fsprojects/fantomas#command-line-tool--api.

I added fantomas and re-formatted the files using the defaults.

Not at all. https://restyled.io will take care ok (on the next release)

@waghanza, should I roll back the previous change, then?

nop, thanks for your work. I'll handle it :heart:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waghanza picture waghanza  路  9Comments

waghanza picture waghanza  路  10Comments

kalicki picture kalicki  路  4Comments

javidoweb picture javidoweb  路  7Comments

sakthisaran65 picture sakthisaran65  路  5Comments